home *** CD-ROM | disk | FTP | other *** search
/ First Person: Stephen Jay Gould on Evolution / First Person: Stephen Jay Gould On Evolution.iso / Gould Folder / Gould - On Evolution next >
MacBinary  |  1994-09-20  |  9.6 MB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, busy, Mon Mar 27 07:43:32 1989, modified Tue Sep 20 09:16:58 1994, creator HyperCard, type HyperCard stack, 7200768 bytes "Gould - On Evolution" , at 0x6de080 2856202 bytes resource default (weak)
99% file data default
49% TrID Mac HyperCard stack (MacBinary) default
33% TrID raw Group 3 FAX bitmap default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 47 6f 75 6c 64 20 | 2d 20 4f 6e 20 45 76 6f |..Gould |- On Evo|
|00000010| 6c 75 74 69 6f 6e 00 00 | 00 00 00 00 00 00 00 00 |lution..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 05 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 6d e0 00 00 | 2b 95 0a a0 53 dc f4 aa |....m...|+...S...|
|00000060| a4 91 4a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..J.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b9 10 00 00 |........|........|
|00000080| 00 00 70 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..p.STAK|........|
|00000090| 00 00 00 0a 00 6d e0 00 | 00 00 70 00 00 00 00 00 |.....m..|..p.....|
|000000a0| 00 00 00 1f 00 00 00 02 | 00 00 12 6a 00 00 0e 69 |........|...j...i|
|000000b0| 00 00 11 92 00 01 5f ce | 00 00 00 07 00 05 35 a0 |......_.|......5.|
|000000c0| 00 00 81 7e 00 00 00 00 | 00 05 00 00 18 00 00 00 |...~....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 22 80 00 02 10 80 00 | 02 10 80 00 02 20 80 00 |."......|..... ..|
|000000f0| d4 14 4e 47 00 00 00 00 | 00 00 00 00 01 e0 02 80 |..NG....|........|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0c 2a 00 00 0b 1c | 01 e0 02 80 00 00 00 00 |...*....|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 04 d7 a0 00 00 49 c0 | 00 05 21 a0 00 00 30 40 |......I.|..!...0@|
|00000490| 00 05 53 80 00 01 a8 a0 | 00 67 9c 00 00 00 30 c0 |..S.....|.g....0.|
|000004a0| 00 68 8e a0 00 02 26 60 | 00 6a fd 20 00 00 19 40 |.h....&`|.j. ...@|
|000004b0| 00 6d 3d 40 00 00 a2 a0 | 00 00 00 00 00 00 00 00 |.m=@....|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 67 65 74 6f 75 | 74 20 6d 0d 67 6c 6f 62 |on getou|t m.glob|
|00000690| 61 6c 20 67 65 74 74 69 | 6e 67 6f 75 74 0d 69 66 |al getti|ngout.if|
|000006a0| 20 6d 20 3c 3e 20 22 22 | 20 74 68 65 6e 20 61 6e | m <> ""| then an|
|000006b0| 73 77 65 72 20 6d 20 77 | 69 74 68 20 22 51 75 69 |swer m w|ith "Qui|
|000006c0| 74 22 0d 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |t".put t|rue into|
|000006d0| 20 67 65 74 74 69 6e 67 | 6f 75 74 0d 6c 6f 63 6b | getting|out.lock|
|000006e0| 20 6d 65 73 73 61 67 65 | 73 0d 6c 6f 63 6b 20 73 | message|s.lock s|
|000006f0| 63 72 65 65 6e 0d 64 6f | 6d 65 6e 75 20 22 71 75 |creen.do|menu "qu|
|00000700| 69 74 20 68 79 70 65 72 | 63 61 72 64 22 0d 65 78 |it hyper|card".ex|
|00000710| 69 74 20 74 6f 20 68 79 | 70 65 72 63 61 72 64 0d |it to hy|percard.|
|00000720| 65 6e 64 20 67 65 74 6f | 75 74 0d 6f 6e 20 6d 6f |end geto|ut.on mo|
|00000730| 76 65 77 69 6e 64 6f 77 | 0d 69 66 20 74 68 65 72 |vewindow|.if ther|
|00000740| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 67 6f |e is a w|indow go|
|00000750| 75 6c 64 66 6e 6c 20 74 | 68 65 6e 20 73 65 74 20 |uldfnl t|hen set |
|00000760| 74 6f 70 6c 65 66 74 20 | 6f 66 20 77 69 6e 64 6f |topleft |of windo|
|00000770| 77 20 67 6f 75 6c 64 66 | 6e 6c 20 74 6f 20 22 31 |w gouldf|nl to "1|
|00000780| 37 36 2c 38 34 22 0d 69 | 66 20 74 68 65 72 65 20 |76,84".i|f there |
|00000790| 69 73 20 61 20 77 69 6e | 64 6f 77 20 6c 72 67 73 |is a win|dow lrgs|
|000007a0| 6c 69 64 65 20 74 68 65 | 6e 20 73 65 74 20 74 6f |lide the|n set to|
|000007b0| 70 6c 65 66 74 20 6f 66 | 20 77 69 6e 64 6f 77 20 |pleft of| window |
|000007c0| 6c 72 67 73 6c 69 64 65 | 20 74 6f 20 22 30 2c 30 |lrgslide| to "0,0|
|000007d0| 22 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |".if the|re is a |
|000007e0| 77 69 6e 64 6f 77 20 62 | 69 67 70 69 63 63 69 65 |window b|igpiccie|
|000007f0| 73 20 74 68 65 6e 20 73 | 65 74 20 74 6f 70 6c 65 |s then s|et tople|
|00000800| 66 74 20 6f 66 20 77 69 | 6e 64 6f 77 20 62 69 67 |ft of wi|ndow big|
|00000810| 70 69 63 63 69 65 73 20 | 74 6f 20 22 30 2c 30 22 |piccies |to "0,0"|
|00000820| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|00000830| 69 6e 64 6f 77 20 67 61 | 75 67 65 20 74 68 65 6e |indow ga|uge then|
|00000840| 20 73 65 74 20 74 6f 70 | 6c 65 66 74 20 6f 66 20 | set top|left of |
|00000850| 77 69 6e 64 6f 77 20 67 | 61 75 67 65 20 74 6f 20 |window g|auge to |
|00000860| 22 32 31 30 2c 34 37 34 | 22 0d 65 6e 64 20 6d 6f |"210,474|".end mo|
|00000870| 76 65 77 69 6e 64 6f 77 | 0d 6f 6e 20 67 6f 70 61 |vewindow|.on gopa|
|00000880| 67 65 20 6e 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |ge n.set| cursor |
|00000890| 74 6f 20 77 61 74 63 68 | 0d 69 66 20 6e 20 3d 20 |to watch|.if n = |
|000008a0| 30 20 74 68 65 6e 20 67 | 6f 20 63 64 20 22 54 4f |0 then g|o cd "TO|
|000008b0| 43 22 0d 65 6c 73 65 20 | 70 61 73 73 20 67 6f 70 |C".else |pass gop|
|000008c0| 61 67 65 0d 65 6e 64 20 | 67 6f 70 61 67 65 0d 66 |age.end |gopage.f|
|000008d0| 75 6e 63 74 69 6f 6e 20 | 77 63 20 6e 0d 67 6c 6f |unction |wc n.glo|
|000008e0| 62 61 6c 20 63 68 61 70 | 74 65 72 73 0d 72 65 74 |bal chap|ters.ret|
|000008f0| 75 72 6e 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |urn the |number o|
|00000900| 66 20 6c 69 6e 65 73 20 | 69 6e 20 28 63 68 61 72 |f lines |in (char|
|00000910| 20 31 20 74 6f 20 28 6f | 66 66 73 65 74 28 6e 2c | 1 to (o|ffset(n,|
|00000920| 63 68 61 70 74 65 72 73 | 29 29 20 6f 66 20 63 68 |chapters|)) of ch|
|00000930| 61 70 74 65 72 73 29 2d | 31 0d 65 6e 64 20 77 63 |apters)-|1.end wc|
|00000940| 0d 6f 6e 20 68 69 6c 69 | 74 65 6c 69 6e 65 20 77 |.on hili|teline w|
|00000950| 6e 2c 74 61 72 67 2c 6c | 0d 67 65 74 20 22 67 65 |n,targ,l|.get "ge|
|00000960| 74 20 74 68 65 22 26 26 | 74 61 72 67 26 22 5f 54 |t the"&&|targ&"_T|
|00000970| 65 78 74 44 61 74 61 20 | 6f 66 20 77 69 6e 64 6f |extData |of windo|
|00000980| 77 20 77 6e 22 0d 64 6f | 20 69 74 0d 70 75 74 20 |w wn".do| it.put |
|00000990| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 68 |the numb|er of ch|
|000009a0| 61 72 73 20 69 6e 20 6c | 69 6e 65 20 31 20 74 6f |ars in l|ine 1 to|
|000009b0| 20 6c 2d 31 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 | l-1 of |it into |
|000009c0| 63 0d 70 75 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |c.put th|e number|
|000009d0| 20 6f 66 20 63 68 61 72 | 73 20 69 6e 20 6c 69 6e | of char|s in lin|
|000009e0| 65 20 6c 20 6f 66 20 69 | 74 20 69 6e 74 6f 20 64 |e l of i|t into d|
|000009f0| 0d 69 66 20 6c 20 3c 3e | 20 74 68 65 20 6e 75 6d |.if l <>| the num|
|00000a00| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|00000a10| 69 74 0d 74 68 65 6e 20 | 73 75 62 74 72 61 63 74 |it.then |subtract|
|00000a20| 20 31 20 66 72 6f 6d 20 | 64 0d 61 64 64 20 28 33 | 1 from |d.add (3|
|00000a30| 2d 6c 29 20 74 6f 20 63 | 0d 69 66 20 6c 20 3d 20 |-l) to c|.if l = |
|00000a40| 31 20 74 68 65 6e 20 70 | 75 74 20 31 20 69 6e 74 |1 then p|ut 1 int|
|00000a50| 6f 20 63 0d 67 65 74 20 | 63 26 22 2c 22 26 63 2b |o c.get |c&","&c+|
|00000a60| 64 0d 64 6f 20 22 73 65 | 74 20 74 68 65 22 26 26 |d.do "se|t the"&&|
|00000a70| 74 61 72 67 26 22 5f 53 | 65 6c 65 63 74 61 62 6c |targ&"_S|electabl|
|00000a80| 65 20 6f 66 20 77 69 6e | 64 6f 77 20 77 6e 20 74 |e of win|dow wn t|
|00000a90| 6f 20 74 72 75 65 22 0d | 64 6f 20 22 73 65 74 20 |o true".|do "set |
|00000aa0| 74 68 65 22 26 26 74 61 | 72 67 26 22 5f 53 65 6c |the"&&ta|rg&"_Sel|
|00000ab0| 65 63 74 69 6f 6e 20 6f | 66 20 77 69 6e 64 6f 77 |ection o|f window|
|00000ac0| 20 77 6e 20 74 6f 20 69 | 74 22 0d 73 65 74 20 74 | wn to i|t".set t|
|00000ad0| 68 65 20 41 63 74 69 76 | 65 4f 62 6a 65 63 74 20 |he Activ|eObject |
|00000ae0| 6f 66 20 77 69 6e 64 6f | 77 20 77 6e 20 74 6f 20 |of windo|w wn to |
|00000af0| 74 61 72 67 0d 64 6f 20 | 22 67 65 74 20 74 68 65 |targ.do |"get the|
|00000b00| 22 26 26 74 61 72 67 26 | 22 5f 53 65 6c 65 63 74 |"&&targ&|"_Select|
|00000b10| 69 6f 6e 20 6f 66 20 77 | 69 6e 64 6f 77 20 77 6e |ion of w|indow wn|
|00000b20| 22 0d 65 6e 64 20 68 69 | 6c 69 74 65 6c 69 6e 65 |".end hi|liteline|
|00000b30| 0d 6f 6e 20 67 6f 74 6f | 66 6f 75 6e 64 70 61 67 |.on goto|foundpag|
|00000b40| 65 20 73 73 2c 6f 66 66 | 73 65 74 2c 74 68 65 74 |e ss,off|set,thet|
|00000b50| 65 78 74 0d 67 6c 6f 62 | 61 6c 20 73 65 63 74 69 |ext.glob|al secti|
|00000b60| 6f 6e 73 74 61 72 74 73 | 2c 6c 61 73 74 62 67 70 |onstarts|,lastbgp|
|00000b70| 69 63 2c 66 72 6f 6d 66 | 69 6e 64 0d 69 66 20 6f |ic,fromf|ind.if o|
|00000b80| 66 66 73 65 74 20 3d 20 | 22 22 20 74 68 65 6e 20 |ffset = |"" then |
|00000b90| 65 78 69 74 20 67 6f 74 | 6f 66 6f 75 6e 64 70 61 |exit got|ofoundpa|
|00000ba0| 67 65 0d 6c 73 0d 73 65 | 74 20 63 75 72 73 6f 72 |ge.ls.se|t cursor|
|00000bb0| 20 74 6f 20 77 61 74 63 | 68 0d 70 75 74 20 74 68 | to watc|h.put th|
|00000bc0| 65 20 69 74 65 6d 64 65 | 6c 69 6d 69 74 65 72 20 |e itemde|limiter |
|00000bd0| 69 6e 74 6f 20 69 64 0d | 73 65 74 20 74 68 65 20 |into id.|set the |
|00000be0| 69 74 65 6d 64 65 6c 69 | 6d 69 74 65 72 20 74 6f |itemdeli|miter to|
|00000bf0| 20 22 2d 22 0d 70 75 74 | 20 69 74 65 6d 20 31 20 | "-".put| item 1 |
|00000c00| 6f 66 20 6f 66 66 73 65 | 74 20 69 6e 74 6f 20 74 |of offse|t into t|
|00000c10| 68 65 70 61 67 65 0d 70 | 75 74 20 69 74 65 6d 20 |hepage.p|ut item |
|00000c20| 32 20 74 6f 20 39 39 39 | 39 20 6f 66 20 6f 66 66 |2 to 999|9 of off|
|00000c30| 73 65 74 20 69 6e 74 6f | 20 6f 66 66 73 65 74 0d |set into| offset.|
|00000c40| 69 66 20 73 73 20 3d 20 | 31 0d 74 68 65 6e 0d 73 |if ss = |1.then.s|
|00000c50| 65 74 20 74 68 65 20 69 | 74 65 6d 64 65 6c 69 6d |et the i|temdelim|
|00000c60| 69 74 65 72 20 74 6f 20 | 22 3a 22 0d 70 75 74 20 |iter to |":".put |
|00000c70| 69 74 65 6d 20 31 20 6f | 66 20 74 68 65 70 61 67 |item 1 o|f thepag|
|00000c80| 65 20 69 6e 74 6f 20 74 | 73 0d 70 75 74 20 69 74 |e into t|s.put it|
|00000c90| 65 6d 20 32 20 6f 66 20 | 74 68 65 70 61 67 65 20 |em 2 of |thepage |
|00000ca0| 69 6e 74 6f 20 74 68 65 | 70 61 67 65 0d 73 65 74 |into the|page.set|
|00000cb0| 20 74 68 65 20 69 74 65 | 6d 64 65 6c 69 6d 69 74 | the ite|mdelimit|
|00000cc0| 65 72 20 74 6f 20 69 64 | 0d 70 75 74 20 74 72 75 |er to id|.put tru|
|00000cd0| 65 20 69 6e 74 6f 20 66 | 72 6f 6d 66 69 6e 64 0d |e into f|romfind.|
|00000ce0| 70 75 74 20 43 4e 28 29 | 20 69 6e 74 6f 20 6c 61 |put CN()| into la|
|00000cf0| 73 74 63 6e 0d 67 6f 70 | 61 67 65 20 31 0d 70 75 |stcn.gop|age 1.pu|
|00000d00| 74 20 22 22 20 69 6e 74 | 6f 20 66 72 6f 6d 66 69 |t "" int|o fromfi|
|00000d10| 6e 64 0d 69 66 20 74 73 | 20 63 6f 6e 74 61 69 6e |nd.if ts| contain|
|00000d20| 73 20 22 69 6e 74 72 6f | 22 20 74 68 65 6e 20 70 |s "intro|" then p|
|00000d30| 75 74 20 31 20 69 6e 74 | 6f 20 74 73 0d 69 66 20 |ut 1 int|o ts.if |
|00000d40| 74 73 20 63 6f 6e 74 61 | 69 6e 73 20 22 52 69 64 |ts conta|ins "Rid|
|00000d50| 64 6c 65 20 4f 6e 65 22 | 20 74 68 65 6e 20 70 75 |dle One"| then pu|
|00000d60| 74 20 32 20 69 6e 74 6f | 20 74 73 0d 69 66 20 74 |t 2 into| ts.if t|
|00000d70| 73 20 63 6f 6e 74 61 69 | 6e 73 20 22 52 69 64 64 |s contai|ns "Ridd|
|00000d80| 6c 65 20 54 77 6f 22 20 | 74 68 65 6e 20 70 75 74 |le Two" |then put|
|00000d90| 20 33 20 69 6e 74 6f 20 | 74 73 0d 69 66 20 74 73 | 3 into |ts.if ts|
|00000da0| 20 63 6f 6e 74 61 69 6e | 73 20 22 52 69 64 64 6c | contain|s "Riddl|
|00000db0| 65 20 54 68 72 65 65 22 | 20 74 68 65 6e 20 70 75 |e Three"| then pu|
|00000dc0| 74 20 34 20 69 6e 74 6f | 20 74 73 0d 69 66 20 74 |t 4 into| ts.if t|
|00000dd0| 73 20 63 6f 6e 74 61 69 | 6e 73 20 22 63 6f 6e 63 |s contai|ns "conc|
|00000de0| 6c 22 20 74 68 65 6e 20 | 70 75 74 20 35 20 69 6e |l" then |put 5 in|
|00000df0| 74 6f 20 74 73 0d 70 75 | 74 20 22 67 6f 75 6c 64 |to ts.pu|t "gould|
|00000e00| 22 26 74 73 20 69 6e 74 | 6f 20 74 68 65 6d 6f 76 |"&ts int|o themov|
|00000e10| 69 65 0d 70 75 74 20 22 | 73 70 65 65 63 68 22 26 |ie.put "|speech"&|
|00000e20| 26 74 73 20 69 6e 74 6f | 20 74 68 65 66 6c 64 0d |&ts into| thefld.|
|00000e30| 6c 73 0d 63 63 73 0d 69 | 66 20 74 68 65 6d 6f 76 |ls.ccs.i|f themov|
|00000e40| 69 65 20 69 73 20 6e 6f | 74 20 69 6e 20 74 68 65 |ie is no|t in the|
|00000e50| 20 6d 6f 76 69 65 20 6f | 66 20 77 69 6e 64 6f 77 | movie o|f window|
|00000e60| 20 22 67 6f 75 6c 64 66 | 6e 6c 22 20 6f 72 20 6e | "gouldf|nl" or n|
|00000e70| 6f 74 20 76 69 73 69 62 | 6c 65 20 6f 66 20 63 64 |ot visib|le of cd|
|00000e80| 20 66 6c 64 20 74 68 65 | 66 6c 64 0d 74 68 65 6e | fld the|fld.then|
|00000e90| 20 73 70 65 65 63 68 20 | 74 73 0d 73 65 74 20 74 | speech |ts.set t|
|00000ea0| 68 65 20 73 63 72 6f 6c | 6c 20 6f 66 20 63 64 20 |he scrol|l of cd |
|00000eb0| 66 6c 64 20 74 68 65 66 | 6c 64 20 74 6f 20 31 36 |fld thef|ld to 16|
|00000ec0| 32 2a 28 74 68 65 70 61 | 67 65 20 2d 20 31 29 0d |2*(thepa|ge - 1).|
|00000ed0| 73 74 74 74 74 73 0d 69 | 66 20 6f 66 66 73 65 74 |stttts.i|f offset|
|00000ee0| 20 3c 3e 20 22 22 0d 74 | 68 65 6e 0d 6c 73 0d 73 | <> "".t|hen.ls.s|
|00000ef0| 65 74 20 6c 6f 63 6b 74 | 65 78 74 20 6f 66 20 63 |et lockt|ext of c|
|00000f00| 64 20 66 6c 64 20 74 68 | 65 66 6c 64 20 74 6f 20 |d fld th|efld to |
|00000f10| 66 61 6c 73 65 0d 63 6c | 69 63 6b 20 61 74 20 22 |false.cl|ick at "|
|00000f20| 31 38 31 2c 32 37 32 22 | 0d 63 6c 69 63 6b 20 61 |181,272"|.click a|
|00000f30| 74 20 22 35 36 34 2c 34 | 32 37 22 20 77 69 74 68 |t "564,4|27" with|
|00000f40| 20 73 68 69 66 74 6b 65 | 79 0d 70 75 74 20 77 6f | shiftke|y.put wo|
|00000f50| 72 64 20 32 20 6f 66 20 | 74 68 65 20 73 65 6c 65 |rd 2 of |the sele|
|00000f60| 63 74 65 64 63 68 75 6e | 6b 20 69 6e 74 6f 20 6f |ctedchun|k into o|
|00000f70| 66 66 73 65 74 63 68 61 | 72 0d 70 75 74 20 77 6f |ffsetcha|r.put wo|
|00000f80| 72 64 20 31 20 74 6f 20 | 39 39 39 20 6f 66 20 6f |rd 1 to |999 of o|
|00000f90| 66 66 73 65 74 20 69 6e | 74 6f 20 74 68 65 77 6f |ffset in|to thewo|
|00000fa0| 72 64 73 0d 67 65 74 20 | 73 65 6c 65 63 74 74 68 |rds.get |selectth|
|00000fb0| 69 73 74 65 78 74 28 74 | 68 65 77 6f 72 64 73 2c |istext(t|hewords,|
|00000fc0| 74 68 65 20 73 65 6c 65 | 63 74 65 64 74 65 78 74 |the sele|ctedtext|
|00000fd0| 29 0d 73 65 74 20 6c 6f | 63 6b 74 65 78 74 20 6f |).set lo|cktext o|
|00000fe0| 66 20 63 64 20 66 6c 64 | 20 74 68 65 66 6c 64 20 |f cd fld| thefld |
|00000ff0| 74 6f 20 74 72 75 65 0d | 73 65 6c 65 63 74 20 65 |to true.|select e|
|00001000| 6d 70 74 79 0d 69 66 20 | 69 74 65 6d 20 31 20 6f |mpty.if |item 1 o|
|00001010| 66 20 67 65 74 73 63 72 | 65 65 6e 64 65 70 74 68 |f getscr|eendepth|
|00001020| 28 29 3e 38 20 6f 72 20 | 6c 61 73 74 63 6e 3d 31 |()>8 or |lastcn=1|
|00001030| 20 74 68 65 6e 20 75 73 | 66 0d 69 66 20 69 74 20 | then us|f.if it |
|00001040| 3e 20 30 0d 74 68 65 6e | 0d 70 75 74 20 69 74 20 |> 0.then|.put it |
|00001050| 2d 31 20 2b 20 6f 66 66 | 73 65 74 63 68 61 72 20 |-1 + off|setchar |
|00001060| 69 6e 74 6f 20 69 74 0d | 73 65 6c 65 63 74 20 63 |into it.|select c|
|00001070| 68 61 72 20 69 74 20 74 | 6f 20 69 74 2b 74 68 65 |har it t|o it+the|
|00001080| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 68 61 72 73 | number |of chars|
|00001090| 20 69 6e 20 74 68 65 77 | 6f 72 64 73 2d 31 20 6f | in thew|ords-1 o|
|000010a0| 66 20 63 64 20 66 6c 64 | 20 74 68 65 66 6c 64 0d |f cd fld| thefld.|
|000010b0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 75 73 |end if.e|nd if.us|
|000010c0| 0d 65 6c 73 65 0d 73 65 | 74 20 74 68 65 20 69 74 |.else.se|t the it|
|000010d0| 65 6d 64 65 6c 69 6d 69 | 74 65 72 20 74 6f 20 69 |emdelimi|ter to i|
|000010e0| 64 0d 67 65 74 20 69 74 | 65 6d 20 73 73 20 6f 66 |d.get it|em ss of|
|000010f0| 20 73 65 63 74 69 6f 6e | 73 74 61 72 74 73 20 2b | section|starts +|
|00001100| 20 28 77 6f 72 64 20 31 | 20 6f 66 20 74 68 65 70 | (word 1| of thep|
|00001110| 61 67 65 29 2d 31 0d 73 | 65 74 20 63 75 72 73 6f |age)-1.s|et curso|
|00001120| 72 20 74 6f 20 77 61 74 | 63 68 0d 70 75 74 20 22 |r to wat|ch.put "|
|00001130| 22 20 69 6e 74 6f 20 6c | 61 73 74 62 67 70 69 63 |" into l|astbgpic|
|00001140| 0d 67 6f 20 63 61 72 64 | 20 69 74 0d 6f 63 73 74 |.go card| it.ocst|
|00001150| 75 66 66 0d 69 66 20 74 | 68 65 20 6e 75 6d 62 65 |uff.if t|he numbe|
|00001160| 72 20 6f 66 20 77 6f 72 | 64 73 20 69 6e 20 6f 66 |r of wor|ds in of|
|00001170| 66 73 65 74 20 3e 20 30 | 0d 74 68 65 6e 0d 75 73 |fset > 0|.then.us|
|00001180| 66 0d 70 75 74 20 77 6f | 72 64 20 31 20 74 6f 20 |f.put wo|rd 1 to |
|00001190| 39 39 39 20 6f 66 20 6f | 66 66 73 65 74 20 69 6e |999 of o|ffset in|
|000011a0| 74 6f 20 74 68 65 77 6f | 72 64 73 0d 67 65 74 20 |to thewo|rds.get |
|000011b0| 73 65 6c 65 63 74 74 68 | 69 73 74 65 78 74 28 74 |selectth|istext(t|
|000011c0| 68 65 77 6f 72 64 73 2c | 66 6c 64 20 22 73 74 79 |hewords,|fld "sty|
|000011d0| 6c 65 64 22 29 0d 69 66 | 20 69 74 20 3e 20 30 20 |led").if| it > 0 |
|000011e0| 74 68 65 6e 20 73 65 6c | 65 63 74 20 63 68 61 72 |then sel|ect char|
|000011f0| 20 69 74 20 74 6f 20 69 | 74 2b 74 68 65 20 6e 75 | it to i|t+the nu|
|00001200| 6d 62 65 72 20 6f 66 20 | 63 68 61 72 73 20 69 6e |mber of |chars in|
|00001210| 20 74 68 65 77 6f 72 64 | 73 2d 31 20 6f 66 20 66 | theword|s-1 of f|
|00001220| 6c 64 20 22 73 74 79 6c | 65 64 22 0d 75 73 0d 65 |ld "styl|ed".us.e|
|00001230| 6c 73 65 0d 66 69 6e 64 | 20 74 68 65 74 65 78 74 |lse.find| thetext|
|00001240| 20 69 6e 20 66 6c 64 20 | 22 73 74 79 6c 65 64 22 | in fld |"styled"|
|00001250| 0d 75 73 66 0d 73 65 6c | 65 63 74 20 74 68 65 20 |.usf.sel|ect the |
|00001260| 66 6f 75 6e 64 63 68 75 | 6e 6b 0d 65 6e 64 20 69 |foundchu|nk.end i|
|00001270| 66 0d 65 6e 64 20 69 66 | 0d 73 65 74 20 63 75 72 |f.end if|.set cur|
|00001280| 73 6f 72 20 74 6f 20 62 | 72 6f 77 73 65 0d 73 65 |sor to b|rowse.se|
|00001290| 6e 64 20 69 64 6c 65 20 | 74 6f 20 74 68 69 73 20 |nd idle |to this |
|000012a0| 63 61 72 64 0d 65 6e 64 | 20 67 6f 74 6f 66 6f 75 |card.end| gotofou|
|000012b0| 6e 64 70 61 67 65 0d 66 | 75 6e 63 74 69 6f 6e 20 |ndpage.f|unction |
|000012c0| 73 65 6c 65 63 74 74 68 | 69 73 74 65 78 74 20 74 |selectth|istext t|
|000012d0| 68 65 74 65 78 74 2c 74 | 68 65 66 69 65 6c 64 0d |hetext,t|hefield.|
|000012e0| 72 65 70 65 61 74 0d 67 | 65 74 20 6f 66 66 73 65 |repeat.g|et offse|
|000012f0| 74 28 72 65 74 75 72 6e | 2c 74 68 65 66 69 65 6c |t(return|,thefiel|
|00001300| 64 29 0d 69 66 20 69 74 | 20 3d 20 30 20 74 68 65 |d).if it| = 0 the|
|00001310| 6e 20 65 78 69 74 20 72 | 65 70 65 61 74 0d 70 75 |n exit r|epeat.pu|
|00001320| 74 20 73 70 61 63 65 20 | 69 6e 74 6f 20 63 68 61 |t space |into cha|
|00001330| 72 20 69 74 20 6f 66 20 | 74 68 65 66 69 65 6c 64 |r it of |thefield|
|00001340| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 67 65 74 20 |.end rep|eat.get |
|00001350| 6f 66 66 73 65 74 28 74 | 68 65 74 65 78 74 2c 74 |offset(t|hetext,t|
|00001360| 68 65 66 69 65 6c 64 29 | 0d 72 65 74 75 72 6e 20 |hefield)|.return |
|00001370| 69 74 0d 65 6e 64 20 73 | 65 6c 65 63 74 74 68 69 |it.end s|electthi|
|00001380| 73 74 65 78 74 0d 6f 6e | 20 6f 6c 64 6f 77 69 6e |stext.on| oldowin|
|00001390| 64 6f 77 20 77 2c 77 69 | 6e 64 6f 77 74 79 70 65 |dow w,wi|ndowtype|
|000013a0| 2c 72 0d 67 6c 6f 62 61 | 6c 20 78 78 78 4e 65 77 |,r.globa|l xxxNew|
|000013b0| 57 69 6e 64 6f 77 4e 61 | 6d 65 0d 69 66 20 74 68 |WindowNa|me.if th|
|000013c0| 65 72 65 20 69 73 20 61 | 20 77 69 6e 64 6f 77 20 |ere is a| window |
|000013d0| 77 20 74 68 65 6e 20 65 | 78 69 74 20 6f 6c 64 6f |w then e|xit oldo|
|000013e0| 77 69 6e 64 6f 77 0d 69 | 66 20 72 20 3d 20 22 22 |window.i|f r = ""|
|000013f0| 20 74 68 65 6e 20 70 75 | 74 20 22 31 30 30 2c 31 | then pu|t "100,1|
|00001400| 30 30 2c 33 30 30 2c 32 | 30 30 22 20 69 6e 74 6f |00,300,2|00" into|
|00001410| 20 72 0d 69 66 20 77 69 | 6e 64 6f 77 74 79 70 65 | r.if wi|ndowtype|
|00001420| 20 3d 20 22 62 6f 72 64 | 65 72 6c 65 73 73 22 0d | = "bord|erless".|
|00001430| 74 68 65 6e 20 70 75 74 | 20 33 32 30 33 33 20 69 |then put| 32033 i|
|00001440| 6e 74 6f 20 77 74 0d 65 | 6c 73 65 20 70 75 74 20 |nto wt.e|lse put |
|00001450| 33 32 30 35 30 20 69 6e | 74 6f 20 77 74 0d 69 66 |32050 in|to wt.if|
|00001460| 20 77 20 3d 20 22 22 20 | 74 68 65 6e 20 70 75 74 | w = "" |then put|
|00001470| 20 22 4e 65 77 20 57 69 | 6e 64 6f 77 22 20 69 6e | "New Wi|ndow" in|
|00001480| 74 6f 20 77 0d 6f 77 69 | 6e 64 6f 77 20 77 74 2c |to w.owi|ndow wt,|
|00001490| 77 0d 73 65 74 20 74 68 | 65 20 72 65 63 74 20 6f |w.set th|e rect o|
|000014a0| 66 20 77 69 6e 64 6f 77 | 20 77 20 74 6f 20 72 0d |f window| w to r.|
|000014b0| 73 65 74 20 74 68 65 20 | 64 65 66 69 6e 65 72 65 |set the |definere|
|000014c0| 73 6f 75 72 63 65 20 6f | 66 20 77 69 6e 64 6f 77 |source o|f window|
|000014d0| 20 77 20 74 6f 20 77 26 | 22 2e 64 65 66 22 0d 69 | w to w&|".def".i|
|000014e0| 66 20 74 68 65 72 65 20 | 69 73 20 6e 6f 74 20 61 |f there |is not a|
|000014f0| 20 77 69 6e 64 6f 77 20 | 77 20 61 6e 64 20 74 68 | window |w and th|
|00001500| 65 72 65 20 69 73 20 61 | 20 77 69 6e 64 6f 77 20 |ere is a| window |
|00001510| 78 78 78 4e 65 77 57 69 | 6e 64 6f 77 4e 61 6d 65 |xxxNewWi|ndowName|
|00001520| 0d 74 68 65 6e 20 73 65 | 74 20 74 68 65 20 6e 61 |.then se|t the na|
|00001530| 6d 65 20 6f 66 20 77 69 | 6e 64 6f 77 20 78 78 78 |me of wi|ndow xxx|
|00001540| 4e 65 77 57 69 6e 64 6f | 77 4e 61 6d 65 20 74 6f |NewWindo|wName to|
|00001550| 20 77 0d 69 66 20 77 69 | 6e 64 6f 77 74 79 70 65 | w.if wi|ndowtype|
|00001560| 20 3c 3e 20 22 69 6e 76 | 69 73 69 62 6c 65 22 20 | <> "inv|isible" |
|00001570| 74 68 65 6e 20 73 68 6f | 77 20 77 69 6e 64 6f 77 |then sho|w window|
|00001580| 20 77 0d 65 6e 64 20 6f | 6c 64 6f 77 69 6e 64 6f | w.end o|ldowindo|
|00001590| 77 0d 6f 6e 20 66 69 6e | 64 73 74 75 66 66 20 74 |w.on fin|dstuff t|
|000015a0| 68 65 74 65 78 74 2c 69 | 6e 64 65 78 6e 61 6d 65 |hetext,i|ndexname|
|000015b0| 73 2c 64 6e 73 2c 69 6e | 63 6f 6e 74 65 78 74 2c |s,dns,in|context,|
|000015c0| 73 73 73 0d 70 75 74 20 | 22 4c 65 63 74 75 72 65 |sss.put |"Lecture|
|000015d0| 46 69 6e 64 73 2c 42 75 | 6c 6c 79 46 69 6e 64 73 |Finds,Bu|llyFinds|
|000015e0| 2c 45 73 73 61 79 73 46 | 69 6e 64 73 2c 42 69 62 |,EssaysF|inds,Bib|
|000015f0| 6c 69 6f 67 72 61 70 68 | 79 46 69 6e 64 73 2c 48 |liograph|yFinds,H|
|00001600| 69 73 74 6f 72 69 63 61 | 6c 46 69 6e 64 73 2c 4f |istorica|lFinds,O|
|00001610| 72 69 67 69 6e 46 69 6e | 64 73 22 c2 0d 26 22 2c |riginFin|ds"..&",|
|00001620| 42 65 61 67 6c 65 46 69 | 6e 64 73 22 20 69 6e 74 |BeagleFi|nds" int|
|00001630| 6f 20 64 69 73 70 6c 61 | 79 73 0d 67 65 74 20 22 |o displa|ys.get "|
|00001640| d2 22 26 74 68 65 74 65 | 78 74 26 22 d3 22 0d 69 |."&thete|xt&".".i|
|00001650| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|00001660| 64 6f 77 20 69 74 20 74 | 68 65 6e 20 63 6c 6f 73 |dow it t|hen clos|
|00001670| 65 20 77 69 6e 64 6f 77 | 20 69 74 0d 6f 6c 64 6f |e window| it.oldo|
|00001680| 77 69 6e 64 6f 77 20 6d | 79 74 65 73 74 2c 69 6e |window m|ytest,in|
|00001690| 76 69 73 69 62 6c 65 0d | 72 65 70 65 61 74 20 77 |visible.|repeat w|
|000016a0| 69 74 68 20 61 20 3d 20 | 31 20 74 6f 20 74 68 65 |ith a = |1 to the|
|000016b0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 69 74 65 6d 73 | number |of items|
|000016c0| 20 69 6e 20 69 6e 64 65 | 78 6e 61 6d 65 73 0d 70 | in inde|xnames.p|
|000016d0| 75 74 20 69 6e 64 65 78 | 73 65 61 72 63 68 28 74 |ut index|search(t|
|000016e0| 68 65 74 65 78 74 2c 69 | 74 65 6d 20 61 20 6f 66 |hetext,i|tem a of|
|000016f0| 20 69 6e 64 65 78 6e 61 | 6d 65 73 29 20 69 6e 74 | indexna|mes) int|
|00001700| 6f 20 66 6f 75 6e 64 73 | 74 75 66 66 0d 69 66 20 |o founds|tuff.if |
|00001710| 69 6e 63 6f 6e 74 65 78 | 74 3c 3e 22 22 0d 74 68 |incontex|t<>"".th|
|00001720| 65 6e 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 62 |en.repea|t with b|
|00001730| 20 3d 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 | = the n|umber of|
|00001740| 20 6c 69 6e 65 73 20 69 | 6e 20 66 6f 75 6e 64 73 | lines i|n founds|
|00001750| 74 75 66 66 20 64 6f 77 | 6e 20 74 6f 20 31 0d 69 |tuff dow|n to 1.i|
|00001760| 66 20 69 74 65 6d 20 61 | 20 6f 66 20 69 6e 64 65 |f item a| of inde|
|00001770| 78 6e 61 6d 65 73 20 63 | 6f 6e 74 61 69 6e 73 20 |xnames c|ontains |
|00001780| 22 6c 65 63 74 75 72 65 | 22 0d 74 68 65 6e 0d 6c |"lecture|".then.l|
|00001790| 61 6c 6c 0d 70 75 73 68 | 20 63 61 72 64 0d 67 6f |all.push| card.go|
|000017a0| 20 63 61 72 64 20 34 0d | 70 75 74 20 63 68 61 72 | card 4.|put char|
|000017b0| 20 31 20 6f 66 20 6c 69 | 6e 65 20 62 20 6f 66 20 | 1 of li|ne b of |
|000017c0| 66 6f 75 6e 64 73 74 75 | 66 66 20 69 6e 74 6f 20 |foundstu|ff into |
|000017d0| 74 73 0d 70 75 74 20 74 | 68 65 20 76 61 6c 75 65 |ts.put t|he value|
|000017e0| 20 6f 66 20 63 68 61 72 | 20 32 20 74 6f 20 33 20 | of char| 2 to 3 |
|000017f0| 6f 66 20 6c 69 6e 65 20 | 62 20 6f 66 20 66 6f 75 |of line |b of fou|
|00001800| 6e 64 73 74 75 66 66 20 | 69 6e 74 6f 20 74 68 65 |ndstuff |into the|
|00001810| 70 61 67 65 0d 70 75 74 | 20 69 74 65 6d 20 74 73 |page.put| item ts|
|00001820| 20 6f 66 20 22 49 6e 74 | 72 6f 3a 2c 52 69 64 64 | of "Int|ro:,Ridd|
|00001830| 6c 65 20 4f 6e 65 3a 2c | 52 69 64 64 6c 65 20 54 |le One:,|Riddle T|
|00001840| 77 6f 3a 2c 52 69 64 64 | 6c 65 20 54 68 72 65 65 |wo:,Ridd|le Three|
|00001850| 3a 2c 43 6f 6e 63 6c 3a | 22 26 26 74 68 65 70 61 |:,Concl:|"&&thepa|
|00001860| 67 65 20 69 6e 74 6f 20 | 70 72 65 66 69 78 0d 70 |ge into |prefix.p|
|00001870| 75 74 20 22 22 20 69 6e | 74 6f 20 76 73 0d 72 65 |ut "" in|to vs.re|
|00001880| 70 65 61 74 20 77 69 74 | 68 20 76 20 3d 20 31 20 |peat wit|h v = 1 |
|00001890| 74 6f 20 35 0d 70 75 74 | 20 22 73 70 65 65 63 68 |to 5.put| "speech|
|000018a0| 22 26 26 76 20 69 6e 74 | 6f 20 74 68 65 66 6c 64 |"&&v int|o thefld|
|000018b0| 0d 70 75 74 20 74 68 65 | 20 76 69 73 69 62 6c 65 |.put the| visible|
|000018c0| 20 6f 66 20 63 64 20 66 | 6c 64 20 74 68 65 66 6c | of cd f|ld thefl|
|000018d0| 64 20 69 6e 74 6f 20 69 | 74 65 6d 20 76 20 6f 66 |d into i|tem v of|
|000018e0| 20 76 73 0d 68 69 64 65 | 20 63 64 20 66 6c 64 20 | vs.hide| cd fld |
|000018f0| 74 68 65 66 6c 64 0d 65 | 6e 64 20 72 65 70 65 61 |thefld.e|nd repea|
|00001900| 74 0d 70 75 74 20 22 73 | 70 65 65 63 68 22 26 26 |t.put "s|peech"&&|
|00001910| 74 73 20 69 6e 74 6f 20 | 74 68 65 66 6c 64 0d 73 |ts into |thefld.s|
|00001920| 68 6f 77 20 63 64 20 66 | 6c 64 20 74 68 65 66 6c |how cd f|ld thefl|
|00001930| 64 0d 73 65 74 20 74 68 | 65 20 6c 6f 63 6b 74 65 |d.set th|e lockte|
|00001940| 78 74 20 6f 66 20 63 64 | 20 66 6c 64 20 74 68 65 |xt of cd| fld the|
|00001950| 66 6c 64 20 74 6f 20 66 | 61 6c 73 65 0d 70 75 74 |fld to f|alse.put|
|00001960| 20 74 68 65 20 73 63 72 | 6f 6c 6c 20 6f 66 20 63 | the scr|oll of c|
|00001970| 64 20 66 6c 64 20 74 68 | 65 66 6c 64 20 69 6e 74 |d fld th|efld int|
|00001980| 6f 20 6f 6c 64 73 63 72 | 6f 6c 6c 0d 73 65 74 20 |o oldscr|oll.set |
|00001990| 74 68 65 20 73 63 72 6f | 6c 6c 20 6f 66 20 63 64 |the scro|ll of cd|
|000019a0| 20 66 6c 64 20 74 68 65 | 66 6c 64 20 74 6f 20 31 | fld the|fld to 1|
|000019b0| 36 32 2a 28 74 68 65 70 | 61 67 65 2d 31 29 0d 63 |62*(thep|age-1).c|
|000019c0| 6c 69 63 6b 20 61 74 20 | 22 31 38 31 2c 32 37 32 |lick at |"181,272|
|000019d0| 22 0d 63 6c 69 63 6b 20 | 61 74 20 22 35 36 34 2c |".click |at "564,|
|000019e0| 34 32 37 22 20 77 69 74 | 68 20 73 68 69 66 74 6b |427" wit|h shiftk|
|000019f0| 65 79 0d 67 65 74 20 63 | 6f 6e 74 65 78 74 66 72 |ey.get c|ontextfr|
|00001a00| 6f 6d 74 65 78 74 28 74 | 68 65 74 65 78 74 2c 74 |omtext(t|hetext,t|
|00001a10| 68 65 20 73 65 6c 65 63 | 74 65 64 74 65 78 74 2c |he selec|tedtext,|
|00001a20| 70 72 65 66 69 78 29 0d | 73 65 74 20 74 68 65 20 |prefix).|set the |
|00001a30| 73 63 72 6f 6c 6c 20 6f | 66 20 63 64 20 66 6c 64 |scroll o|f cd fld|
|00001a40| 20 74 68 65 66 6c 64 20 | 74 6f 20 6f 6c 64 73 63 | thefld |to oldsc|
|00001a50| 72 6f 6c 6c 0d 73 65 74 | 20 74 68 65 20 6c 6f 63 |roll.set| the loc|
|00001a60| 6b 74 65 78 74 20 6f 66 | 20 63 64 20 66 6c 64 20 |ktext of| cd fld |
|00001a70| 74 68 65 66 6c 64 20 74 | 6f 20 74 72 75 65 0d 72 |thefld t|o true.r|
|00001a80| 65 70 65 61 74 20 77 69 | 74 68 20 76 20 3d 20 31 |epeat wi|th v = 1|
|00001a90| 20 74 6f 20 35 0d 70 75 | 74 20 22 73 70 65 65 63 | to 5.pu|t "speec|
|00001aa0| 68 22 26 26 76 20 69 6e | 74 6f 20 74 68 65 66 6c |h"&&v in|to thefl|
|00001ab0| 64 0d 73 65 74 20 74 68 | 65 20 76 69 73 69 62 6c |d.set th|e visibl|
|00001ac0| 65 20 6f 66 20 63 64 20 | 66 6c 64 20 74 68 65 66 |e of cd |fld thef|
|00001ad0| 6c 64 20 74 6f 20 69 74 | 65 6d 20 76 20 6f 66 20 |ld to it|em v of |
|00001ae0| 76 73 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 6f |vs.end r|epeat.po|
|00001af0| 70 20 63 61 72 64 0d 75 | 73 0d 6c 6d 20 66 61 6c |p card.u|s.lm fal|
|00001b00| 73 65 0d 65 6c 73 65 0d | 70 75 74 20 77 6f 72 64 |se.else.|put word|
|00001b10| 20 31 20 6f 66 20 6c 69 | 6e 65 20 62 20 6f 66 20 | 1 of li|ne b of |
|00001b20| 66 6f 75 6e 64 73 74 75 | 66 66 20 69 6e 74 6f 20 |foundstu|ff into |
|00001b30| 74 68 65 70 61 67 65 0d | 70 75 74 20 69 74 65 6d |thepage.|put item|
|00001b40| 20 61 20 6f 66 20 73 73 | 73 2b 74 68 65 70 61 67 | a of ss|s+thepag|
|00001b50| 65 2d 31 20 69 6e 74 6f | 20 74 68 65 63 61 72 64 |e-1 into| thecard|
|00001b60| 0d 67 65 74 20 63 6f 6e | 74 65 78 74 66 72 6f 6d |.get con|textfrom|
|00001b70| 74 65 78 74 28 74 68 65 | 74 65 78 74 2c 66 6c 64 |text(the|text,fld|
|00001b80| 20 73 74 79 6c 65 64 20 | 6f 66 20 63 61 72 64 20 | styled |of card |
|00001b90| 74 68 65 63 61 72 64 2c | 74 68 65 70 61 67 65 29 |thecard,|thepage)|
|00001ba0| 0d 65 6e 64 20 69 66 0d | 69 66 20 69 74 20 3d 20 |.end if.|if it = |
|00001bb0| 22 22 0d 74 68 65 6e 20 | 64 65 6c 65 74 65 20 6c |"".then |delete l|
|00001bc0| 69 6e 65 20 62 20 6f 66 | 20 66 6f 75 6e 64 73 74 |ine b of| foundst|
|00001bd0| 75 66 66 0d 65 6c 73 65 | 20 70 75 74 20 69 74 20 |uff.else| put it |
|00001be0| 69 6e 74 6f 20 6c 69 6e | 65 20 62 20 6f 66 20 66 |into lin|e b of f|
|00001bf0| 6f 75 6e 64 73 74 75 66 | 66 0d 65 6e 64 20 72 65 |oundstuf|f.end re|
|00001c00| 70 65 61 74 0d 65 6c 73 | 65 0d 69 66 20 69 74 65 |peat.els|e.if ite|
|00001c10| 6d 20 61 20 6f 66 20 69 | 6e 64 65 78 6e 61 6d 65 |m a of i|ndexname|
|00001c20| 73 20 63 6f 6e 74 61 69 | 6e 73 20 22 6c 65 63 74 |s contai|ns "lect|
|00001c30| 75 72 65 22 0d 74 68 65 | 6e 0d 72 65 70 65 61 74 |ure".the|n.repeat|
|00001c40| 20 77 69 74 68 20 62 20 | 3d 20 74 68 65 20 6e 75 | with b |= the nu|
|00001c50| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 69 6e |mber of |lines in|
|00001c60| 20 66 6f 75 6e 64 73 74 | 75 66 66 20 64 6f 77 6e | foundst|uff down|
|00001c70| 20 74 6f 20 31 0d 70 75 | 74 20 63 68 61 72 20 31 | to 1.pu|t char 1|
|00001c80| 20 6f 66 20 6c 69 6e 65 | 20 62 20 6f 66 20 66 6f | of line| b of fo|
|00001c90| 75 6e 64 73 74 75 66 66 | 20 69 6e 74 6f 20 74 73 |undstuff| into ts|
|00001ca0| 0d 70 75 74 20 74 68 65 | 20 76 61 6c 75 65 20 6f |.put the| value o|
|00001cb0| 66 20 63 68 61 72 20 32 | 20 74 6f 20 33 20 6f 66 |f char 2| to 3 of|
|00001cc0| 20 6c 69 6e 65 20 62 20 | 6f 66 20 66 6f 75 6e 64 | line b |of found|
|00001cd0| 73 74 75 66 66 20 69 6e | 74 6f 20 74 68 65 70 61 |stuff in|to thepa|
|00001ce0| 67 65 0d 70 75 74 20 69 | 74 65 6d 20 74 73 20 6f |ge.put i|tem ts o|
|00001cf0| 66 20 22 49 6e 74 72 6f | 3a 2c 52 69 64 64 6c 65 |f "Intro|:,Riddle|
|00001d00| 20 4f 6e 65 3a 2c 52 69 | 64 64 6c 65 20 54 77 6f | One:,Ri|ddle Two|
|00001d10| 3a 2c 52 69 64 64 6c 65 | 20 54 68 72 65 65 3a 2c |:,Riddle| Three:,|
|00001d20| 43 6f 6e 63 6c 3a 22 26 | 26 74 68 65 70 61 67 65 |Concl:"&|&thepage|
|00001d30| 20 69 6e 74 6f 20 70 72 | 65 66 69 78 0d 70 75 74 | into pr|efix.put|
|00001d40| 20 70 72 65 66 69 78 20 | 69 6e 74 6f 20 77 6f 72 | prefix |into wor|
|00001d50| 64 20 31 20 6f 66 20 6c | 69 6e 65 20 62 20 6f 66 |d 1 of l|ine b of|
|00001d60| 20 66 6f 75 6e 64 73 74 | 75 66 66 0d 65 6e 64 20 | foundst|uff.end |
|00001d70| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 65 6e |repeat.e|nd if.en|
|00001d80| 64 20 69 66 0d 72 65 70 | 65 61 74 20 77 69 74 68 |d if.rep|eat with|
|00001d90| 20 62 20 3d 20 74 68 65 | 20 6e 75 6d 62 65 72 20 | b = the| number |
|00001da0| 6f 66 20 6c 69 6e 65 73 | 20 69 6e 20 66 6f 75 6e |of lines| in foun|
|00001db0| 64 73 74 75 66 66 20 64 | 6f 77 6e 20 74 6f 20 31 |dstuff d|own to 1|
|00001dc0| 0d 70 75 74 20 22 c2 22 | 20 61 66 74 65 72 20 6c |.put "."| after l|
|00001dd0| 69 6e 65 20 62 20 6f 66 | 20 66 6f 75 6e 64 73 74 |ine b of| foundst|
|00001de0| 75 66 66 0d 70 75 74 20 | 74 72 75 65 20 69 6e 74 |uff.put |true int|
|00001df0| 6f 20 66 6f 75 6e 64 73 | 6f 6d 65 0d 65 6e 64 20 |o founds|ome.end |
|00001e00| 72 65 70 65 61 74 0d 69 | 66 20 6c 61 73 74 20 63 |repeat.i|f last c|
|00001e10| 68 61 72 20 6f 66 20 66 | 6f 75 6e 64 73 74 75 66 |har of f|oundstuf|
|00001e20| 66 20 69 73 20 69 6e 20 | 72 65 74 75 72 6e 26 22 |f is in |return&"|
|00001e30| c2 22 20 74 68 65 6e 20 | 64 65 6c 65 74 65 20 6c |." then |delete l|
|00001e40| 61 73 74 20 63 68 61 72 | 20 6f 66 20 66 6f 75 6e |ast char| of foun|
|00001e50| 64 73 74 75 66 66 0d 70 | 75 74 20 69 74 65 6d 20 |dstuff.p|ut item |
|00001e60| 61 20 6f 66 20 64 6e 73 | 20 69 6e 74 6f 20 64 6e |a of dns| into dn|
|00001e70| 0d 69 66 20 64 6e 73 20 | 63 6f 6e 74 61 69 6e 73 |.if dns |contains|
|00001e80| 20 22 62 65 61 67 6c 65 | 22 20 74 68 65 6e 20 70 | "beagle|" then p|
|00001e90| 75 74 20 22 36 38 22 20 | 69 6e 74 6f 20 64 6f 74 |ut "68" |into dot|
|00001ea0| 76 0d 69 66 20 64 6e 73 | 20 63 6f 6e 74 61 69 6e |v.if dns| contain|
|00001eb0| 73 20 22 68 69 73 74 6f | 72 69 63 61 6c 22 20 74 |s "histo|rical" t|
|00001ec0| 68 65 6e 20 70 75 74 20 | 22 35 35 22 20 69 6e 74 |hen put |"55" int|
|00001ed0| 6f 20 64 6f 74 76 0d 69 | 66 20 64 6e 73 20 63 6f |o dotv.i|f dns co|
|00001ee0| 6e 74 61 69 6e 73 20 22 | 6c 65 63 74 75 72 65 22 |ntains "|lecture"|
|00001ef0| 20 74 68 65 6e 20 70 75 | 74 20 22 33 22 20 69 6e | then pu|t "3" in|
|00001f00| 74 6f 20 64 6f 74 76 0d | 69 66 20 64 6e 73 20 63 |to dotv.|if dns c|
|00001f10| 6f 6e 74 61 69 6e 73 20 | 22 62 65 61 67 6c 65 22 |ontains |"beagle"|
|00001f20| 20 74 68 65 6e 20 70 75 | 74 20 22 62 65 61 67 6c | then pu|t "beagl|
|00001f30| 65 66 69 6e 64 73 22 20 | 69 6e 74 6f 20 74 6f 73 |efinds" |into tos|
|00001f40| 68 6f 77 0d 69 66 20 64 | 6e 73 20 63 6f 6e 74 61 |how.if d|ns conta|
|00001f50| 69 6e 73 20 22 68 69 73 | 74 6f 72 69 63 61 6c 22 |ins "his|torical"|
|00001f60| 20 74 68 65 6e 20 70 75 | 74 20 22 68 69 73 74 6f | then pu|t "histo|
|00001f70| 72 69 63 61 6c 66 69 6e | 64 73 22 20 69 6e 74 6f |ricalfin|ds" into|
|00001f80| 20 74 6f 73 68 6f 77 0d | 69 66 20 64 6e 73 20 63 | toshow.|if dns c|
|00001f90| 6f 6e 74 61 69 6e 73 20 | 22 6c 65 63 74 75 72 65 |ontains |"lecture|
|00001fa0| 22 20 74 68 65 6e 20 70 | 75 74 20 22 6c 65 63 74 |" then p|ut "lect|
|00001fb0| 75 72 65 66 69 6e 64 73 | 22 20 69 6e 74 6f 20 74 |urefinds|" into t|
|00001fc0| 6f 73 68 6f 77 0d 69 66 | 20 64 6e 20 3c 3e 22 22 |oshow.if| dn <>""|
|00001fd0| 0d 74 68 65 6e 0d 70 75 | 74 20 64 6e 20 69 6e 74 |.then.pu|t dn int|
|00001fe0| 6f 20 64 6c 0d 70 75 74 | 20 64 6e 20 69 6e 74 6f |o dl.put| dn into|
|00001ff0| 20 64 67 0d 70 75 74 20 | 74 68 65 20 6e 75 6d 62 | dg.put |the numb|
|00002000| 65 72 20 6f 66 20 63 68 | 61 72 73 20 69 6e 20 64 |er of ch|ars in d|
|00002010| 6c 20 69 6e 74 6f 20 64 | 6c 63 0d 64 65 6c 65 74 |l into d|lc.delet|
|00002020| 65 20 63 68 61 72 28 64 | 6c 63 20 2d 20 34 29 20 |e char(d|lc - 4) |
|00002030| 74 6f 20 64 6c 63 20 6f | 66 20 64 6c 0d 64 65 6c |to dlc o|f dl.del|
|00002040| 65 74 65 20 63 68 61 72 | 28 64 6c 63 20 2d 20 34 |ete char|(dlc - 4|
|00002050| 29 20 74 6f 20 64 6c 63 | 20 6f 66 20 64 67 0d 70 |) to dlc| of dg.p|
|00002060| 75 74 20 22 43 6f 75 6e | 74 22 20 61 66 74 65 72 |ut "Coun|t" after|
|00002070| 20 64 6c 0d 70 75 74 20 | 22 47 72 61 79 22 20 61 | dl.put |"Gray" a|
|00002080| 66 74 65 72 20 64 67 0d | 67 65 74 20 22 73 65 74 |fter dg.|get "set|
|00002090| 20 74 68 65 22 26 26 64 | 67 26 22 5f 76 69 73 69 | the"&&d|g&"_visi|
|000020a0| 62 6c 65 20 6f 66 20 77 | 69 6e 64 6f 77 20 6d 79 |ble of w|indow my|
|000020b0| 74 65 73 74 20 74 6f 20 | 66 61 6c 73 65 22 0d 64 |test to |false".d|
|000020c0| 6f 20 69 74 0d 67 65 74 | 20 22 73 65 74 20 74 68 |o it.get| "set th|
|000020d0| 65 22 26 26 64 6c 26 22 | 5f 74 65 78 74 64 61 74 |e"&&dl&"|_textdat|
|000020e0| 61 20 6f 66 20 77 69 6e | 64 6f 77 20 6d 79 74 65 |a of win|dow myte|
|000020f0| 73 74 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 |st to th|e number|
|00002100| 20 6f 66 20 6c 69 6e 65 | 73 20 69 6e 20 66 6f 75 | of line|s in fou|
|00002110| 6e 64 73 74 75 66 66 22 | 0d 64 6f 20 69 74 0d 67 |ndstuff"|.do it.g|
|00002120| 65 74 20 22 73 65 74 20 | 74 68 65 22 26 26 64 6e |et "set |the"&&dn|
|00002130| 26 22 5f 74 65 78 74 64 | 61 74 61 20 6f 66 20 77 |&"_textd|ata of w|
|00002140| 69 6e 64 6f 77 20 6d 79 | 74 65 73 74 20 74 6f 20 |indow my|test to |
|00002150| 66 6f 75 6e 64 73 74 75 | 66 66 22 0d 64 6f 20 69 |foundstu|ff".do i|
|00002160| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |t.end if|.end rep|
|00002170| 65 61 74 0d 67 65 74 20 | 74 68 65 20 64 6f 74 5f |eat.get |the dot_|
|00002180| 72 65 63 74 20 6f 66 20 | 77 69 6e 64 6f 77 20 6d |rect of |window m|
|00002190| 79 74 65 73 74 0d 70 75 | 74 20 64 6f 74 76 20 69 |ytest.pu|t dotv i|
|000021a0| 6e 74 6f 20 69 74 65 6d | 20 32 20 6f 66 20 69 74 |nto item| 2 of it|
|000021b0| 0d 70 75 74 20 64 6f 74 | 76 2b 31 31 20 69 6e 74 |.put dot|v+11 int|
|000021c0| 6f 20 69 74 65 6d 20 34 | 20 6f 66 20 69 74 0d 73 |o item 4| of it.s|
|000021d0| 65 74 20 74 68 65 20 64 | 6f 74 5f 72 65 63 74 20 |et the d|ot_rect |
|000021e0| 6f 66 20 77 69 6e 64 6f | 77 20 6d 79 74 65 73 74 |of windo|w mytest|
|000021f0| 20 74 6f 20 69 74 0d 69 | 66 20 74 6f 73 68 6f 77 | to it.i|f toshow|
|00002200| 20 3c 3e 20 22 22 0d 74 | 68 65 6e 0d 67 65 74 20 | <> "".t|hen.get |
|00002210| 22 73 65 74 20 74 68 65 | 22 26 26 74 6f 73 68 6f |"set the|"&&tosho|
|00002220| 77 26 22 5f 76 69 73 69 | 62 6c 65 20 6f 66 20 77 |w&"_visi|ble of w|
|00002230| 69 6e 64 6f 77 20 6d 79 | 74 65 73 74 20 74 6f 20 |indow my|test to |
|00002240| 74 72 75 65 22 0d 64 6f | 20 69 74 0d 65 6e 64 20 |true".do| it.end |
|00002250| 69 66 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 61 |if.repea|t with a|
|00002260| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|00002270| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 69 6e 20 64 |er of it|ems in d|
|00002280| 69 73 70 6c 61 79 73 0d | 70 75 74 20 69 74 65 6d |isplays.|put item|
|00002290| 20 61 20 6f 66 20 64 69 | 73 70 6c 61 79 73 20 69 | a of di|splays i|
|000022a0| 6e 74 6f 20 64 6e 0d 67 | 65 74 20 22 73 65 74 20 |nto dn.g|et "set |
|000022b0| 74 68 65 22 26 26 64 6e | 26 22 5f 73 63 72 6f 6c |the"&&dn|&"_scrol|
|000022c0| 6c 20 6f 66 20 77 69 6e | 64 6f 77 20 6d 79 74 65 |l of win|dow myte|
|000022d0| 73 74 20 74 6f 20 30 22 | 0d 64 6f 20 69 74 0d 70 |st to 0"|.do it.p|
|000022e0| 75 74 20 22 37 2c 32 30 | 30 2c 31 35 33 2c 34 33 |ut "7,20|0,153,43|
|000022f0| 37 22 20 69 6e 74 6f 20 | 77 72 0d 70 75 74 20 22 |7" into |wr.put "|
|00002300| 33 2c 39 37 2c 31 34 33 | 2c 32 33 34 22 20 69 6e |3,97,143|,234" in|
|00002310| 74 6f 20 72 0d 69 66 20 | 69 6e 63 6f 6e 74 65 78 |to r.if |incontex|
|00002320| 74 20 3c 3e 20 22 22 0d | 74 68 65 6e 0d 70 75 74 |t <> "".|then.put|
|00002330| 20 32 39 35 20 69 6e 74 | 6f 20 69 74 65 6d 20 33 | 295 int|o item 3|
|00002340| 20 6f 66 20 77 72 0d 70 | 75 74 20 32 38 35 20 69 | of wr.p|ut 285 i|
|00002350| 6e 74 6f 20 69 74 65 6d | 20 33 20 6f 66 20 72 0d |nto item| 3 of r.|
|00002360| 65 6e 64 20 69 66 0d 73 | 65 74 20 74 68 65 20 72 |end if.s|et the r|
|00002370| 65 63 74 20 6f 66 20 77 | 69 6e 64 6f 77 20 6d 79 |ect of w|indow my|
|00002380| 74 65 73 74 20 74 6f 20 | 77 72 0d 67 65 74 20 22 |test to |wr.get "|
|00002390| 73 65 74 20 74 68 65 22 | 26 26 64 6e 26 22 5f 72 |set the"|&&dn&"_r|
|000023a0| 65 63 74 20 6f 66 20 77 | 69 6e 64 6f 77 20 6d 79 |ect of w|indow my|
|000023b0| 74 65 73 74 20 74 6f 20 | 72 22 0d 64 6f 20 69 74 |test to |r".do it|
|000023c0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 67 65 74 20 |.end rep|eat.get |
|000023d0| 22 d2 22 26 74 68 65 74 | 65 78 74 26 22 d3 22 0d |"."&thet|ext&".".|
|000023e0| 73 65 74 20 6e 61 6d 65 | 20 6f 66 20 77 69 6e 64 |set name| of wind|
|000023f0| 6f 77 20 6d 79 74 65 73 | 74 20 74 6f 20 69 74 0d |ow mytes|t to it.|
|00002400| 69 66 20 66 6f 75 6e 64 | 73 6f 6d 65 3d 74 72 75 |if found|some=tru|
|00002410| 65 0d 74 68 65 6e 0d 73 | 65 74 20 74 68 65 20 75 |e.then.s|et the u|
|00002420| 73 65 72 64 61 74 61 20 | 6f 66 20 77 69 6e 64 6f |serdata |of windo|
|00002430| 77 20 69 74 20 74 6f 20 | 74 68 65 74 65 78 74 0d |w it to |thetext.|
|00002440| 70 75 74 20 74 68 65 20 | 74 6f 70 6c 65 66 74 20 |put the |topleft |
|00002450| 6f 66 20 77 69 6e 64 6f | 77 20 69 74 20 69 6e 74 |of windo|w it int|
|00002460| 6f 20 74 6c 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |o tl.put| "" into|
|00002470| 20 74 6c 73 0d 72 65 70 | 65 61 74 20 77 69 74 68 | tls.rep|eat with|
|00002480| 20 61 20 3d 20 31 20 74 | 6f 20 74 68 65 20 6e 75 | a = 1 t|o the nu|
|00002490| 6d 62 65 72 20 6f 66 20 | 77 69 6e 64 6f 77 73 0d |mber of |windows.|
|000024a0| 69 66 20 76 69 73 69 62 | 6c 65 20 6f 66 20 77 69 |if visib|le of wi|
|000024b0| 6e 64 6f 77 20 61 20 74 | 68 65 6e 20 70 75 74 20 |ndow a t|hen put |
|000024c0| 74 6f 70 6c 65 66 74 20 | 6f 66 20 77 69 6e 64 6f |topleft |of windo|
|000024d0| 77 20 61 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |w a & re|turn aft|
|000024e0| 65 72 20 74 6c 73 0d 65 | 6e 64 20 72 65 70 65 61 |er tls.e|nd repea|
|000024f0| 74 0d 72 65 70 65 61 74 | 0d 69 66 20 74 6c 20 69 |t.repeat|.if tl i|
|00002500| 73 20 69 6e 20 74 6c 73 | 0d 74 68 65 6e 0d 61 64 |s in tls|.then.ad|
|00002510| 64 20 31 35 20 74 6f 20 | 69 74 65 6d 20 31 20 6f |d 15 to |item 1 o|
|00002520| 66 20 74 6c 0d 61 64 64 | 20 31 35 20 74 6f 20 69 |f tl.add| 15 to i|
|00002530| 74 65 6d 20 32 20 6f 66 | 20 74 6c 0d 65 6c 73 65 |tem 2 of| tl.else|
|00002540| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|00002550| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 73 | if.end |repeat.s|
|00002560| 65 74 20 74 6f 70 6c 65 | 66 74 20 6f 66 20 77 69 |et tople|ft of wi|
|00002570| 6e 64 6f 77 20 69 74 20 | 74 6f 20 74 6c 0d 70 75 |ndow it |to tl.pu|
|00002580| 74 20 72 65 63 74 20 6f | 66 20 77 69 6e 64 6f 77 |t rect o|f window|
|00002590| 20 69 74 20 69 6e 74 6f | 20 77 72 0d 70 75 74 20 | it into| wr.put |
|000025a0| 69 74 65 6d 20 32 20 6f | 66 20 77 72 20 2d 20 31 |item 2 o|f wr - 1|
|000025b0| 20 69 6e 74 6f 20 69 74 | 65 6d 20 34 20 6f 66 20 | into it|em 4 of |
|000025c0| 77 72 0d 73 65 74 20 74 | 68 65 20 63 6f 6c 6c 61 |wr.set t|he colla|
|000025d0| 70 73 65 64 72 65 63 74 | 20 6f 66 20 77 69 6e 64 |psedrect| of wind|
|000025e0| 6f 77 20 69 74 20 74 6f | 20 77 72 0d 73 68 6f 77 |ow it to| wr.show|
|000025f0| 20 77 69 6e 64 6f 77 20 | 69 74 0d 73 65 74 20 74 | window |it.set t|
|00002600| 68 65 20 64 6f 6e 74 65 | 72 61 73 65 20 6f 66 20 |he donte|rase of |
|00002610| 77 69 6e 64 6f 77 20 69 | 74 20 74 6f 20 74 72 75 |window i|t to tru|
|00002620| 65 0d 65 6c 73 65 0d 63 | 6c 6f 73 65 20 77 69 6e |e.else.c|lose win|
|00002630| 64 6f 77 20 69 74 0d 61 | 6e 73 77 65 72 20 22 d2 |dow it.a|nswer ".|
|00002640| 22 26 74 68 65 74 65 78 | 74 26 22 d3 20 77 61 73 |"&thetex|t&". was|
|00002650| 20 6e 6f 74 20 66 6f 75 | 6e 64 20 69 6e 20 61 6e | not fou|nd in an|
|00002660| 79 20 6f 66 20 74 68 65 | 20 63 68 6f 73 65 6e 20 |y of the| chosen |
|00002670| 73 65 63 74 69 6f 6e 73 | 2e 22 0d 65 6e 64 20 69 |sections|.".end i|
|00002680| 66 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |f.set cu|rsor to |
|00002690| 62 72 6f 77 73 65 0d 65 | 6e 64 20 66 69 6e 64 73 |browse.e|nd finds|
|000026a0| 74 75 66 66 0d 66 75 6e | 63 74 69 6f 6e 20 69 6e |tuff.fun|ction in|
|000026b0| 64 65 78 73 65 61 72 63 | 68 20 74 68 65 74 65 78 |dexsearc|h thetex|
|000026c0| 74 2c 77 68 65 72 65 0d | 67 6c 6f 62 61 6c 20 67 |t,where.|global g|
|000026d0| 57 69 6e 64 6f 77 4e 61 | 6d 65 2c 74 74 2c 69 6e |WindowNa|me,tt,in|
|000026e0| 64 65 78 66 6f 6c 64 65 | 72 0d 70 75 74 20 22 47 |dexfolde|r.put "G|
|000026f0| 6f 75 6c 64 20 43 44 3a | 49 6e 64 65 78 65 73 3a |ould CD:|Indexes:|
|00002700| 22 20 69 6e 74 6f 20 69 | 6e 64 65 78 66 6f 6c 64 |" into i|ndexfold|
|00002710| 65 72 0d 70 75 74 20 22 | 61 22 20 69 6e 74 6f 20 |er.put "|a" into |
|00002720| 67 57 69 6e 64 6f 77 4e | 61 6d 65 0d 69 66 20 74 |gWindowN|ame.if t|
|00002730| 68 65 72 65 20 69 73 20 | 6e 6f 74 20 61 20 77 69 |here is |not a wi|
|00002740| 6e 64 6f 77 20 67 57 69 | 6e 64 6f 77 4e 61 6d 65 |ndow gWi|ndowName|
|00002750| 20 74 68 65 6e 0d 49 6e | 64 65 78 54 65 78 74 20 | then.In|dexText |
|00002760| 67 57 69 6e 64 6f 77 4e | 61 6d 65 0d 65 6e 64 20 |gWindowN|ame.end |
|00002770| 69 66 0d 6d 61 78 6d 65 | 6d 0d 70 75 74 20 74 68 |if.maxme|m.put th|
|00002780| 65 20 68 65 61 70 73 70 | 61 63 65 20 69 6e 74 6f |e heapsp|ace into|
|00002790| 20 74 74 0d 67 65 74 20 | 69 6e 64 65 78 66 6f 6c | tt.get |indexfol|
|000027a0| 64 65 72 26 77 68 65 72 | 65 0d 69 66 20 74 68 65 |der&wher|e.if the|
|000027b0| 72 65 20 69 73 20 6e 6f | 74 20 61 20 66 69 6c 65 |re is no|t a file|
|000027c0| 20 69 74 20 74 68 65 6e | 20 72 65 74 75 72 6e 20 | it then| return |
|000027d0| 22 22 0d 73 65 74 20 74 | 68 65 20 57 6f 72 64 44 |"".set t|he WordD|
|000027e0| 61 74 61 46 69 6c 65 20 | 6f 66 20 77 69 6e 64 6f |ataFile |of windo|
|000027f0| 77 20 67 77 69 6e 64 6f | 77 6e 61 6d 65 20 74 6f |w gwindo|wname to|
|00002800| 20 69 74 0d 73 65 74 20 | 74 68 65 20 66 69 6e 64 | it.set |the find|
|00002810| 6c 6f 67 69 63 20 6f 66 | 20 77 69 6e 64 6f 77 20 |logic of| window |
|00002820| 67 77 69 6e 64 6f 77 6e | 61 6d 65 20 74 6f 20 22 |gwindown|ame to "|
|00002830| 41 4e 44 22 0d 73 65 74 | 20 74 68 65 20 66 69 6e |AND".set| the fin|
|00002840| 64 6c 6f 67 69 63 20 6f | 66 20 77 69 6e 64 6f 77 |dlogic o|f window|
|00002850| 20 67 77 69 6e 64 6f 77 | 6e 61 6d 65 20 74 6f 20 | gwindow|name to |
|00002860| 22 4f 52 22 0d 73 65 74 | 20 74 68 65 20 66 69 6e |"OR".set| the fin|
|00002870| 64 77 68 6f 6c 65 77 6f | 72 64 73 20 6f 66 20 77 |dwholewo|rds of w|
|00002880| 69 6e 64 6f 77 20 67 77 | 69 6e 64 6f 77 6e 61 6d |indow gw|indownam|
|00002890| 65 20 74 6f 20 74 72 75 | 65 0d 67 65 74 20 74 68 |e to tru|e.get th|
|000028a0| 65 74 65 78 74 0d 69 66 | 20 69 74 20 3d 20 22 22 |etext.if| it = ""|
|000028b0| 20 74 68 65 6e 20 65 78 | 69 74 20 69 6e 64 65 78 | then ex|it index|
|000028c0| 73 65 61 72 63 68 0d 73 | 65 74 20 74 68 65 20 70 |search.s|et the p|
|000028d0| 68 72 61 73 65 74 6f 66 | 69 6e 64 20 6f 66 20 77 |hrasetof|ind of w|
|000028e0| 69 6e 64 6f 77 20 67 77 | 69 6e 64 6f 77 6e 61 6d |indow gw|indownam|
|000028f0| 65 20 74 6f 20 69 74 0d | 73 65 74 20 74 68 65 20 |e to it.|set the |
|00002900| 66 69 6e 64 6c 6f 67 69 | 63 20 6f 66 20 77 69 6e |findlogi|c of win|
|00002910| 64 6f 77 20 67 77 69 6e | 64 6f 77 6e 61 6d 65 20 |dow gwin|downame |
|00002920| 74 6f 20 22 61 6e 64 22 | 0d 73 65 74 20 74 68 65 |to "and"|.set the|
|00002930| 20 66 69 6e 64 77 68 6f | 6c 65 77 6f 72 64 73 20 | findwho|lewords |
|00002940| 6f 66 20 77 69 6e 64 6f | 77 20 67 77 69 6e 64 6f |of windo|w gwindo|
|00002950| 77 6e 61 6d 65 20 74 6f | 20 74 72 75 65 0d 73 65 |wname to| true.se|
|00002960| 74 20 74 68 65 20 66 69 | 6c 65 73 74 6f 73 65 61 |t the fi|lestosea|
|00002970| 72 63 68 20 6f 66 20 77 | 69 6e 64 6f 77 20 67 77 |rch of w|indow gw|
|00002980| 69 6e 64 6f 77 6e 61 6d | 65 20 74 6f 20 22 22 0d |indownam|e to "".|
|00002990| 73 65 74 20 74 68 65 20 | 66 69 6c 65 6d 61 70 20 |set the |filemap |
|000029a0| 6f 66 20 77 69 6e 64 6f | 77 20 67 77 69 6e 64 6f |of windo|w gwindo|
|000029b0| 77 6e 61 6d 65 20 74 6f | 20 22 22 0d 73 65 74 20 |wname to| "".set |
|000029c0| 74 68 65 20 73 6f 72 74 | 62 79 6e 75 6d 68 69 74 |the sort|bynumhit|
|000029d0| 73 20 6f 66 20 77 69 6e | 64 6f 77 20 67 77 69 6e |s of win|dow gwin|
|000029e0| 64 6f 77 6e 61 6d 65 20 | 74 6f 20 66 61 6c 73 65 |downame |to false|
|000029f0| 0d 73 65 74 20 74 68 65 | 20 72 65 74 75 72 6e 6e |.set the| returnn|
|00002a00| 75 6d 68 69 74 73 20 6f | 66 20 77 69 6e 64 6f 77 |umhits o|f window|
|00002a10| 20 67 77 69 6e 64 6f 77 | 6e 61 6d 65 20 74 6f 20 | gwindow|name to |
|00002a20| 66 61 6c 73 65 0d 73 65 | 6e 64 20 70 65 72 66 6f |false.se|nd perfo|
|00002a30| 72 6d 66 69 6e 64 20 74 | 6f 20 77 69 6e 64 6f 77 |rmfind t|o window|
|00002a40| 20 67 77 69 6e 64 6f 77 | 6e 61 6d 65 0d 70 75 74 | gwindow|name.put|
|00002a50| 20 74 68 65 20 66 6f 75 | 6e 64 77 6f 72 64 73 20 | the fou|ndwords |
|00002a60| 6f 66 20 77 69 6e 64 6f | 77 20 67 77 69 6e 64 6f |of windo|w gwindo|
|00002a70| 77 6e 61 6d 65 20 69 6e | 74 6f 20 66 0d 70 75 74 |wname in|to f.put|
|00002a80| 20 74 68 65 20 66 6f 75 | 6e 64 66 69 6c 65 73 20 | the fou|ndfiles |
|00002a90| 6f 66 20 77 69 6e 64 6f | 77 20 67 77 69 6e 64 6f |of windo|w gwindo|
|00002aa0| 77 6e 61 6d 65 20 69 6e | 74 6f 20 67 0d 72 65 74 |wname in|to g.ret|
|00002ab0| 75 72 6e 20 67 0d 65 6e | 64 20 69 6e 64 65 78 73 |urn g.en|d indexs|
|00002ac0| 65 61 72 63 68 0d 6f 6e | 20 66 61 64 65 67 61 6d |earch.on| fadegam|
|00002ad0| 6d 61 64 6f 77 6e 0d 67 | 6c 6f 62 61 6c 20 66 61 |madown.g|lobal fa|
|00002ae0| 64 65 64 0d 69 66 20 66 | 61 64 65 64 3c 3e 74 72 |ded.if f|aded<>tr|
|00002af0| 75 65 20 61 6e 64 20 69 | 74 65 6d 20 31 20 6f 66 |ue and i|tem 1 of|
|00002b00| 20 67 65 74 73 63 72 65 | 65 6e 64 65 70 74 68 28 | getscre|endepth(|
|00002b10| 29 3c 39 0d 74 68 65 6e | 0d 70 75 74 20 74 72 75 |)<9.then|.put tru|
|00002b20| 65 20 69 6e 74 6f 20 66 | 61 64 65 64 0d 70 61 73 |e into f|aded.pas|
|00002b30| 73 20 66 61 64 65 67 61 | 6d 6d 61 64 6f 77 6e 0d |s fadega|mmadown.|
|00002b40| 65 6e 64 20 69 66 0d 65 | 6e 64 20 66 61 64 65 67 |end if.e|nd fadeg|
|00002b50| 61 6d 6d 61 64 6f 77 6e | 0d 6f 6e 20 6d 6f 75 73 |ammadown|.on mous|
|00002b60| 65 64 6f 77 6e 69 6e 70 | 69 63 74 75 72 65 20 57 |edowninp|icture W|
|00002b70| 2c 77 68 0d 69 66 20 57 | 3d 63 74 6c 77 4e 61 6d |,wh.if W|=ctlwNam|
|00002b80| 65 28 29 20 74 68 65 6e | 20 63 57 68 61 74 20 77 |e() then| cWhat w|
|00002b90| 68 0d 69 66 20 57 3d 22 | 67 61 75 67 65 22 20 74 |h.if W="|gauge" t|
|00002ba0| 68 65 6e 20 64 6f 43 53 | 54 52 20 22 6d 6f 76 65 |hen doCS|TR "move|
|00002bb0| 67 61 75 67 65 43 53 54 | 52 22 0d 65 6e 64 20 6d |gaugeCST|R".end m|
|00002bc0| 6f 75 73 65 64 6f 77 6e | 69 6e 70 69 63 74 75 72 |ousedown|inpictur|
|00002bd0| 65 0d 6f 6e 20 6d 6f 75 | 73 65 64 6f 77 6e 0d 65 |e.on mou|sedown.e|
|00002be0| 6e 64 20 6d 6f 75 73 65 | 64 6f 77 6e 0d 6f 6e 20 |nd mouse|down.on |
|00002bf0| 73 68 6f 77 62 66 20 70 | 0d 67 6c 6f 62 61 6c 20 |showbf p|.global |
|00002c00| 6d 61 70 61 72 65 61 73 | 2c 6d 61 70 6c 6f 63 73 |mapareas|,maplocs|
|00002c10| 2c 6d 61 70 73 66 6f 6c | 64 65 72 0d 69 66 20 70 |,mapsfol|der.if p|
|00002c20| 20 69 73 20 61 20 6e 75 | 6d 62 65 72 20 74 68 65 | is a nu|mber the|
|00002c30| 6e 20 70 75 74 20 6c 69 | 6e 65 20 70 20 6f 66 20 |n put li|ne p of |
|00002c40| 66 6c 64 20 22 6d 61 74 | 63 68 65 73 22 20 69 6e |fld "mat|ches" in|
|00002c50| 74 6f 20 70 0d 6c 73 0d | 67 65 74 20 22 6d 62 22 |to p.ls.|get "mb"|
|00002c60| 26 70 0d 72 65 70 65 61 | 74 0d 69 66 20 6c 61 73 |&p.repea|t.if las|
|00002c70| 74 20 63 68 61 72 20 6f | 66 20 69 74 20 3d 20 22 |t char o|f it = "|
|00002c80| 20 22 20 74 68 65 6e 20 | 64 65 6c 65 74 65 20 6c | " then |delete l|
|00002c90| 61 73 74 20 63 68 61 72 | 20 6f 66 20 69 74 0d 65 |ast char| of it.e|
|00002ca0| 6c 73 65 20 65 78 69 74 | 20 72 65 70 65 61 74 0d |lse exit| repeat.|
|00002cb0| 65 6e 64 20 72 65 70 65 | 61 74 0d 69 66 20 74 68 |end repe|at.if th|
|00002cc0| 65 72 65 20 69 73 20 61 | 20 62 74 6e 20 69 74 0d |ere is a| btn it.|
|00002cd0| 74 68 65 6e 20 73 68 6f | 77 20 62 74 6e 20 69 74 |then sho|w btn it|
|00002ce0| 0d 67 65 74 20 22 6d 66 | 22 26 70 0d 72 65 70 65 |.get "mf|"&p.repe|
|00002cf0| 61 74 0d 69 66 20 6c 61 | 73 74 20 63 68 61 72 20 |at.if la|st char |
|00002d00| 6f 66 20 69 74 20 3d 20 | 22 20 22 20 74 68 65 6e |of it = |" " then|
|00002d10| 20 64 65 6c 65 74 65 20 | 6c 61 73 74 20 63 68 61 | delete |last cha|
|00002d20| 72 20 6f 66 20 69 74 0d | 65 6c 73 65 20 65 78 69 |r of it.|else exi|
|00002d30| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 72 65 70 |t repeat|.end rep|
|00002d40| 65 61 74 0d 69 66 20 6c | 61 73 74 20 63 68 61 72 |eat.if l|ast char|
|00002d50| 20 6f 66 20 69 74 20 3d | 20 22 20 22 20 74 68 65 | of it =| " " the|
|00002d60| 6e 20 64 65 6c 65 74 65 | 20 6c 61 73 74 20 63 68 |n delete| last ch|
|00002d70| 61 72 20 6f 66 20 69 74 | 0d 69 66 20 74 68 65 72 |ar of it|.if ther|
|00002d80| 65 20 69 73 20 61 20 63 | 64 20 66 6c 64 20 69 74 |e is a c|d fld it|
|00002d90| 0d 74 68 65 6e 20 73 68 | 6f 77 20 63 64 20 66 6c |.then sh|ow cd fl|
|00002da0| 64 20 69 74 0d 67 65 74 | 20 6f 66 66 73 65 74 28 |d it.get| offset(|
|00002db0| 70 26 72 65 74 75 72 6e | 2c 6d 61 70 61 72 65 61 |p&return|,maparea|
|00002dc0| 73 26 72 65 74 75 72 6e | 29 0d 67 65 74 20 74 68 |s&return|).get th|
|00002dd0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00002de0| 73 20 69 6e 20 63 68 61 | 72 20 31 20 74 6f 20 69 |s in cha|r 1 to i|
|00002df0| 74 20 6f 66 20 6d 61 70 | 61 72 65 61 73 0d 69 66 |t of map|areas.if|
|00002e00| 20 69 74 20 3e 20 30 0d | 74 68 65 6e 0d 70 75 74 | it > 0.|then.put|
|00002e10| 20 6c 69 6e 65 20 69 74 | 20 6f 66 20 6d 61 70 6c | line it| of mapl|
|00002e20| 6f 63 73 20 69 6e 74 6f | 20 78 79 0d 67 65 74 20 |ocs into| xy.get |
|00002e30| 6d 61 70 73 66 6f 6c 64 | 65 72 26 70 0d 69 66 20 |mapsfold|er&p.if |
|00002e40| 74 68 65 72 65 20 69 73 | 20 61 20 66 69 6c 65 20 |there is| a file |
|00002e50| 69 74 0d 74 68 65 6e 20 | 61 64 64 63 6f 6c 6f 72 |it.then |addcolor|
|00002e60| 20 63 6f 6c 6f 72 70 69 | 63 74 66 69 6c 65 2c 63 | colorpi|ctfile,c|
|00002e70| 64 2c 69 74 2c 78 79 2c | 74 2c 73 74 61 6d 70 2c |d,it,xy,|t,stamp,|
|00002e80| 30 0d 65 6e 64 20 69 66 | 0d 75 73 0d 65 6e 64 20 |0.end if|.us.end |
|00002e90| 73 68 6f 77 62 66 0d 6f | 6e 20 6e 65 78 74 63 68 |showbf.o|n nextch|
|00002ea0| 61 70 0d 67 6c 6f 62 61 | 6c 20 63 75 72 72 73 70 |ap.globa|l currsp|
|00002eb0| 65 65 63 68 0d 69 66 20 | 77 61 69 28 29 3d 31 0d |eech.if |wai()=1.|
|00002ec0| 74 68 65 6e 0d 69 66 20 | 63 75 72 72 73 70 65 65 |then.if |currspee|
|00002ed0| 63 68 3c 35 0d 74 68 65 | 6e 0d 63 63 73 0d 73 65 |ch<5.the|n.ccs.se|
|00002ee0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|00002ef0| 68 0d 73 70 65 65 63 68 | 20 63 75 72 72 73 70 65 |h.speech| currspe|
|00002f00| 65 63 68 2b 31 0d 65 78 | 69 74 20 6e 65 78 74 63 |ech+1.ex|it nextc|
|00002f10| 68 61 70 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |hap.end |if.end i|
|00002f20| 66 0d 70 61 73 73 20 6e | 65 78 74 63 68 61 70 0d |f.pass n|extchap.|
|00002f30| 65 6e 64 20 6e 65 78 74 | 63 68 61 70 0d 6f 6e 20 |end next|chap.on |
|00002f40| 70 72 65 76 63 68 61 70 | 0d 67 6c 6f 62 61 6c 20 |prevchap|.global |
|00002f50| 63 75 72 72 73 70 65 65 | 63 68 0d 69 66 20 77 61 |currspee|ch.if wa|
|00002f60| 69 28 29 3d 31 0d 74 68 | 65 6e 0d 69 66 20 63 75 |i()=1.th|en.if cu|
|00002f70| 72 72 73 70 65 65 63 68 | 3e 31 0d 74 68 65 6e 0d |rrspeech|>1.then.|
|00002f80| 63 63 73 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ccs.set |cursor t|
|00002f90| 6f 20 77 61 74 63 68 0d | 73 70 65 65 63 68 20 63 |o watch.|speech c|
|00002fa0| 75 72 72 73 70 65 65 63 | 68 2d 31 0d 65 78 69 74 |urrspeec|h-1.exit|
|00002fb0| 20 70 72 65 76 63 68 61 | 70 0d 65 6c 73 65 0d 67 | prevcha|p.else.g|
|00002fc0| 6f 20 63 64 20 22 54 4f | 43 22 0d 65 6e 64 20 69 |o cd "TO|C".end i|
|00002fd0| 66 0d 65 6e 64 20 69 66 | 0d 70 61 73 73 20 70 72 |f.end if|.pass pr|
|00002fe0| 65 76 63 68 61 70 0d 65 | 6e 64 20 70 72 65 76 63 |evchap.e|nd prevc|
|00002ff0| 68 61 70 0d 6f 6e 20 6c | 6f 6f 6b 66 6f 72 72 65 |hap.on l|ookforre|
|00003000| 74 75 72 6e 0d 67 6c 6f | 62 61 6c 20 6c 61 73 74 |turn.glo|bal last|
|00003010| 63 68 65 63 6b 0d 70 75 | 74 20 22 46 69 6e 64 22 |check.pu|t "Find"|
|00003020| 20 69 6e 74 6f 20 77 6e | 0d 69 66 20 74 68 65 20 | into wn|.if the |
|00003030| 66 69 6e 64 74 65 78 74 | 5f 4e 55 4d 42 45 52 4f |findtext|_NUMBERO|
|00003040| 46 50 41 47 45 53 20 6f | 66 20 77 69 6e 64 6f 77 |FPAGES o|f window|
|00003050| 20 77 6e 20 3c 20 32 20 | 74 68 65 6e 20 65 78 69 | wn < 2 |then exi|
|00003060| 74 20 6c 6f 6f 6b 66 6f | 72 72 65 74 75 72 6e 0d |t lookfo|rreturn.|
|00003070| 67 65 74 20 74 68 65 20 | 66 69 6e 64 74 65 78 74 |get the |findtext|
|00003080| 5f 74 65 78 74 64 61 74 | 61 20 6f 66 20 77 69 6e |_textdat|a of win|
|00003090| 64 6f 77 20 77 6e 0d 72 | 65 70 65 61 74 0d 70 75 |dow wn.r|epeat.pu|
|000030a0| 74 20 6f 66 66 73 65 74 | 28 72 65 74 75 72 6e 2c |t offset|(return,|
|000030b0| 69 74 29 20 69 6e 74 6f | 20 6f 0d 69 66 20 6f 20 |it) into| o.if o |
|000030c0| 3d 20 30 20 74 68 65 6e | 20 65 78 69 74 20 72 65 |= 0 then| exit re|
|000030d0| 70 65 61 74 0d 64 65 6c | 65 74 65 20 63 68 61 72 |peat.del|ete char|
|000030e0| 20 6f 20 6f 66 20 69 74 | 0d 65 6e 64 20 72 65 70 | o of it|.end rep|
|000030f0| 65 61 74 0d 72 65 70 65 | 61 74 0d 70 75 74 20 6f |eat.repe|at.put o|
|00003100| 66 66 73 65 74 28 22 c2 | 22 2c 69 74 29 20 69 6e |ffset(".|",it) in|
|00003110| 74 6f 20 6f 0d 69 66 20 | 6f 20 3d 20 30 20 74 68 |to o.if |o = 0 th|
|00003120| 65 6e 20 65 78 69 74 20 | 72 65 70 65 61 74 0d 64 |en exit |repeat.d|
|00003130| 65 6c 65 74 65 20 63 68 | 61 72 20 6f 20 6f 66 20 |elete ch|ar o of |
|00003140| 69 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |it.end r|epeat.re|
|00003150| 70 65 61 74 0d 73 65 74 | 20 74 68 65 20 66 69 6e |peat.set| the fin|
|00003160| 64 74 65 78 74 5f 74 65 | 78 74 64 61 74 61 20 6f |dtext_te|xtdata o|
|00003170| 66 20 77 69 6e 64 6f 77 | 20 77 6e 20 74 6f 20 69 |f window| wn to i|
|00003180| 74 0d 69 66 20 74 68 65 | 20 66 69 6e 64 74 65 78 |t.if the| findtex|
|00003190| 74 5f 4e 55 4d 42 45 52 | 4f 46 50 41 47 45 53 20 |t_NUMBER|OFPAGES |
|000031a0| 6f 66 20 77 69 6e 64 6f | 77 20 77 6e 20 3e 20 31 |of windo|w wn > 1|
|000031b0| 0d 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6c 61 73 |.then de|lete las|
|000031c0| 74 20 77 6f 72 64 20 6f | 66 20 69 74 0d 65 6c 73 |t word o|f it.els|
|000031d0| 65 20 65 78 69 74 20 72 | 65 70 65 61 74 0d 65 6e |e exit r|epeat.en|
|000031e0| 64 20 72 65 70 65 61 74 | 0d 73 65 74 20 74 68 65 |d repeat|.set the|
|000031f0| 20 41 63 74 69 76 65 4f | 62 6a 65 63 74 20 6f 66 | ActiveO|bject of|
|00003200| 20 77 69 6e 64 6f 77 20 | 22 46 69 6e 64 22 20 74 | window |"Find" t|
|00003210| 6f 20 22 22 0d 66 69 6e | 64 74 65 78 74 0d 65 6e |o "".fin|dtext.en|
|00003220| 64 20 6c 6f 6f 6b 66 6f | 72 72 65 74 75 72 6e 0d |d lookfo|rreturn.|
|00003230| 6f 6e 20 66 69 6e 64 74 | 65 78 74 0d 70 75 74 20 |on findt|ext.put |
|00003240| 22 46 69 6e 64 22 20 69 | 6e 74 6f 20 77 6e 0d 73 |"Find" i|nto wn.s|
|00003250| 65 74 20 74 68 65 20 63 | 75 72 73 6f 72 20 74 6f |et the c|ursor to|
|00003260| 20 77 61 74 63 68 0d 73 | 65 74 20 74 68 65 20 61 | watch.s|et the a|
|00003270| 6c 6c 5f 69 6e 6b 6d 6f | 64 65 20 6f 66 20 77 69 |ll_inkmo|de of wi|
|00003280| 6e 64 6f 77 20 77 6e 20 | 74 6f 20 62 6c 65 6e 64 |ndow wn |to blend|
|00003290| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 77 68 65 |.put "" |into whe|
|000032a0| 72 65 74 6f 6c 6f 6f 6b | 0d 70 75 74 20 22 22 20 |retolook|.put "" |
|000032b0| 69 6e 74 6f 20 77 68 65 | 72 65 74 6f 70 75 74 69 |into whe|retoputi|
|000032c0| 74 0d 69 66 20 74 68 65 | 20 63 68 65 63 6b 6d 61 |t.if the| checkma|
|000032d0| 72 6b 31 5f 76 69 73 69 | 62 6c 65 20 6f 66 20 77 |rk1_visi|ble of w|
|000032e0| 69 6e 64 6f 77 20 77 6e | 0d 74 68 65 6e 0d 70 75 |indow wn|.then.pu|
|000032f0| 74 20 22 6c 65 63 74 75 | 72 65 66 69 6e 64 73 2c |t "lectu|refinds,|
|00003300| 62 75 6c 6c 79 66 69 6e | 64 73 2c 65 73 73 61 79 |bullyfin|ds,essay|
|00003310| 73 66 69 6e 64 73 2c 42 | 69 62 6c 69 6f 67 72 61 |sfinds,B|ibliogra|
|00003320| 70 68 79 46 69 6e 64 73 | 22 20 61 66 74 65 72 20 |phyFinds|" after |
|00003330| 77 68 65 72 65 74 6f 70 | 75 74 69 74 0d 70 75 74 |wheretop|utit.put|
|00003340| 20 22 6c 65 63 74 75 72 | 65 20 69 6e 64 65 78 2c | "lectur|e index,|
|00003350| 62 75 6c 6c 79 20 69 6e | 64 65 78 2c 65 73 73 61 |bully in|dex,essa|
|00003360| 79 73 20 69 6e 64 65 78 | 2c 62 69 62 6c 69 6f 20 |ys index|,biblio |
|00003370| 69 6e 64 65 78 22 20 61 | 66 74 65 72 20 77 68 65 |index" a|fter whe|
|00003380| 72 65 74 6f 6c 6f 6f 6b | 0d 70 75 74 20 22 34 2c |retolook|.put "4,|
|00003390| 35 2c 39 39 31 2c 31 32 | 39 33 22 20 69 6e 74 6f |5,991,12|93" into|
|000033a0| 20 73 73 73 0d 65 6e 64 | 20 69 66 0d 69 66 20 74 | sss.end| if.if t|
|000033b0| 68 65 20 63 68 65 63 6b | 6d 61 72 6b 32 5f 76 69 |he check|mark2_vi|
|000033c0| 73 69 62 6c 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |sible of| window |
|000033d0| 77 6e 0d 74 68 65 6e 0d | 70 75 74 20 22 2c 62 65 |wn.then.|put ",be|
|000033e0| 61 67 6c 65 66 69 6e 64 | 73 2c 6f 72 69 67 69 6e |aglefind|s,origin|
|000033f0| 66 69 6e 64 73 22 20 61 | 66 74 65 72 20 77 68 65 |finds" a|fter whe|
|00003400| 72 65 74 6f 70 75 74 69 | 74 0d 70 75 74 20 22 2c |retoputi|t.put ",|
|00003410| 62 65 61 67 6c 65 20 69 | 6e 64 65 78 2c 6f 72 69 |beagle i|ndex,ori|
|00003420| 67 69 6e 20 69 6e 64 65 | 78 22 20 61 66 74 65 72 |gin inde|x" after|
|00003430| 20 77 68 65 72 65 74 6f | 6c 6f 6f 6b 0d 70 75 74 | whereto|look.put|
|00003440| 20 22 2c 31 34 37 38 2c | 32 35 33 37 22 20 61 66 | ",1478,|2537" af|
|00003450| 74 65 72 20 73 73 73 0d | 65 6e 64 20 69 66 0d 69 |ter sss.|end if.i|
|00003460| 66 20 74 68 65 20 63 68 | 65 63 6b 6d 61 72 6b 33 |f the ch|eckmark3|
|00003470| 5f 76 69 73 69 62 6c 65 | 20 6f 66 20 77 69 6e 64 |_visible| of wind|
|00003480| 6f 77 20 77 6e 0d 74 68 | 65 6e 0d 70 75 74 20 22 |ow wn.th|en.put "|
|00003490| 2c 68 69 73 74 6f 72 69 | 63 61 6c 66 69 6e 64 73 |,histori|calfinds|
|000034a0| 22 20 61 66 74 65 72 20 | 77 68 65 72 65 74 6f 70 |" after |wheretop|
|000034b0| 75 74 69 74 0d 70 75 74 | 20 22 2c 68 69 73 74 6f |utit.put| ",histo|
|000034c0| 72 69 63 61 6c 20 69 6e | 64 65 78 22 20 61 66 74 |rical in|dex" aft|
|000034d0| 65 72 20 77 68 65 72 65 | 74 6f 6c 6f 6f 6b 0d 70 |er where|tolook.p|
|000034e0| 75 74 20 22 2c 31 33 32 | 35 22 20 61 66 74 65 72 |ut ",132|5" after|
|000034f0| 20 73 73 73 0d 65 6e 64 | 20 69 66 0d 69 66 20 74 | sss.end| if.if t|
|00003500| 68 65 20 64 6f 74 73 32 | 5f 70 61 74 68 20 6f 66 |he dots2|_path of|
|00003510| 20 77 69 6e 64 6f 77 20 | 77 6e 20 3d 20 22 6c 6f | window |wn = "lo|
|00003520| 64 6f 74 22 0d 74 68 65 | 6e 20 70 75 74 20 74 72 |dot".the|n put tr|
|00003530| 75 65 20 69 6e 74 6f 20 | 69 6e 63 6f 6e 74 65 78 |ue into |incontex|
|00003540| 74 0d 65 6c 73 65 20 70 | 75 74 20 22 22 20 69 6e |t.else p|ut "" in|
|00003550| 74 6f 20 69 6e 63 6f 6e | 74 65 78 74 0d 67 65 74 |to incon|text.get|
|00003560| 20 74 68 65 20 66 69 6e | 64 74 65 78 74 5f 74 65 | the fin|dtext_te|
|00003570| 78 74 64 61 74 61 20 6f | 66 20 77 69 6e 64 6f 77 |xtdata o|f window|
|00003580| 20 77 6e 0d 69 66 20 69 | 74 20 3c 3e 20 22 22 20 | wn.if i|t <> "" |
|00003590| 61 6e 64 20 77 68 65 72 | 65 74 6f 6c 6f 6f 6b 20 |and wher|etolook |
|000035a0| 3c 3e 20 22 22 20 74 68 | 65 6e 20 66 69 6e 64 73 |<> "" th|en finds|
|000035b0| 74 75 66 66 20 69 74 2c | 77 68 65 72 65 74 6f 6c |tuff it,|wheretol|
|000035c0| 6f 6f 6b 2c 77 68 65 72 | 65 74 6f 70 75 74 69 74 |ook,wher|etoputit|
|000035d0| 2c 69 6e 63 6f 6e 74 65 | 78 74 2c 73 73 73 0d 73 |,inconte|xt,sss.s|
|000035e0| 65 74 20 74 68 65 20 61 | 6c 6c 5f 69 6e 6b 6d 6f |et the a|ll_inkmo|
|000035f0| 64 65 20 6f 66 20 77 69 | 6e 64 6f 77 20 77 6e 20 |de of wi|ndow wn |
|00003600| 74 6f 20 61 64 4d 61 78 | 0d 65 6e 64 20 66 69 6e |to adMax|.end fin|
|00003610| 64 74 65 78 74 0d 6f 6e | 20 64 6f 66 69 6e 64 0d |dtext.on| dofind.|
|00003620| 69 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 74 20 |if there| is not |
|00003630| 61 20 77 69 6e 64 6f 77 | 20 22 46 69 6e 64 22 0d |a window| "Find".|
|00003640| 74 68 65 6e 0d 6f 77 69 | 6e 64 6f 77 20 33 32 30 |then.owi|ndow 320|
|00003650| 35 30 2c 22 46 69 6e 64 | 22 0d 73 65 74 20 74 68 |50,"Find|".set th|
|00003660| 65 20 64 65 66 69 6e 65 | 72 65 73 6f 75 72 63 65 |e define|resource|
|00003670| 20 6f 66 20 77 69 6e 64 | 6f 77 20 22 66 69 6e 64 | of wind|ow "find|
|00003680| 22 20 74 6f 20 22 46 69 | 6e 64 2e 64 65 66 22 0d |" to "Fi|nd.def".|
|00003690| 73 65 74 20 74 6f 70 6c | 65 66 74 20 6f 66 20 77 |set topl|eft of w|
|000036a0| 69 6e 64 6f 77 20 22 46 | 69 6e 64 22 20 74 6f 20 |indow "F|ind" to |
|000036b0| 22 37 2c 34 30 22 0d 73 | 68 6f 77 20 77 69 6e 64 |"7,40".s|how wind|
|000036c0| 6f 77 20 22 66 69 6e 64 | 22 0d 73 65 74 20 74 68 |ow "find|".set th|
|000036d0| 65 20 64 6f 6e 74 65 72 | 61 73 65 20 6f 66 20 77 |e donter|ase of w|
|000036e0| 69 6e 64 6f 77 20 22 66 | 69 6e 64 22 20 74 6f 20 |indow "f|ind" to |
|000036f0| 74 72 75 65 0d 63 68 65 | 63 6b 28 22 46 69 6e 64 |true.che|ck("Find|
|00003700| c9 22 29 2c 74 72 75 65 | 0d 65 6e 64 20 69 66 0d |."),true|.end if.|
|00003710| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 77 69 |if there| is a wi|
|00003720| 6e 64 6f 77 20 22 46 69 | 6e 64 22 0d 74 68 65 6e |ndow "Fi|nd".then|
|00003730| 0d 73 65 74 20 74 68 65 | 20 66 69 6e 64 74 65 78 |.set the| findtex|
|00003740| 74 5f 73 65 6c 65 63 74 | 69 6f 6e 20 6f 66 20 77 |t_select|ion of w|
|00003750| 69 6e 64 6f 77 20 22 46 | 69 6e 64 22 20 74 6f 20 |indow "F|ind" to |
|00003760| 22 31 2c 22 26 20 74 68 | 65 20 6e 75 6d 62 65 72 |"1,"& th|e number|
|00003770| 20 6f 66 20 63 68 61 72 | 73 20 69 6e 20 74 68 65 | of char|s in the|
|00003780| 20 66 69 6e 64 74 65 78 | 74 5f 74 65 78 74 64 61 | findtex|t_textda|
|00003790| 74 61 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 66 69 |ta of wi|ndow "fi|
|000037a0| 6e 64 22 0d 73 65 74 20 | 74 68 65 20 41 63 74 69 |nd".set |the Acti|
|000037b0| 76 65 4f 62 6a 65 63 74 | 20 6f 66 20 77 69 6e 64 |veObject| of wind|
|000037c0| 6f 77 20 22 46 69 6e 64 | 22 20 74 6f 20 22 66 69 |ow "Find|" to "fi|
|000037d0| 6e 64 74 65 78 74 22 0d | 73 68 6f 77 20 77 69 6e |ndtext".|show win|
|000037e0| 64 6f 77 20 22 46 69 6e | 64 22 0d 65 6e 64 20 69 |dow "Fin|d".end i|
|000037f0| 66 0d 65 6e 64 20 64 6f | 66 69 6e 64 0d 6f 6e 20 |f.end do|find.on |
|00003800| 6f 70 65 6e 62 61 63 6b | 67 72 6f 75 6e 64 0d 67 |openback|ground.g|
|00003810| 6c 6f 62 61 6c 20 6c 61 | 73 74 62 67 70 69 63 2c |lobal la|stbgpic,|
|00003820| 6e 61 76 74 6f 6f 6c 73 | 0d 73 65 74 20 76 69 73 |navtools|.set vis|
|00003830| 69 62 6c 65 20 6f 66 20 | 62 67 20 62 74 6e 20 22 |ible of |bg btn "|
|00003840| 6e 61 76 70 61 6c 22 20 | 74 6f 20 28 6e 61 76 74 |navpal" |to (navt|
|00003850| 6f 6f 6c 73 3c 3e 66 61 | 6c 73 65 29 0d 65 6e 64 |ools<>fa|lse).end|
|00003860| 20 6f 70 65 6e 62 61 63 | 6b 67 72 6f 75 6e 64 0d | openbac|kground.|
|00003870| 6f 6e 20 64 6f 6d 65 6e | 75 20 77 0d 69 66 20 77 |on domen|u w.if w|
|00003880| 20 3d 20 22 74 6f 6f 6c | 20 70 61 6c 65 74 74 65 | = "tool| palette|
|00003890| 22 0d 74 68 65 6e 20 73 | 65 6e 64 20 6d 6f 75 73 |".then s|end mous|
|000038a0| 65 75 70 20 74 6f 20 62 | 67 20 62 74 6e 20 22 6e |eup to b|g btn "n|
|000038b0| 61 76 69 67 61 74 69 6f | 6e 22 0d 65 6c 73 65 20 |avigatio|n".else |
|000038c0| 70 61 73 73 20 64 6f 6d | 65 6e 75 0d 65 6e 64 20 |pass dom|enu.end |
|000038d0| 64 6f 6d 65 6e 75 0d 6f | 6e 20 63 57 68 61 74 20 |domenu.o|n cWhat |
|000038e0| 77 68 0d 67 6c 6f 62 61 | 6c 20 6c 61 73 74 73 70 |wh.globa|l lastsp|
|000038f0| 65 65 63 68 0d 70 75 74 | 20 67 65 74 73 74 72 28 |eech.put| getstr(|
|00003900| 22 63 68 65 63 6b 61 72 | 65 61 73 53 74 72 22 29 |"checkar|easStr")|
|00003910| 20 69 6e 74 6f 20 63 61 | 0d 67 65 74 20 67 65 74 | into ca|.get get|
|00003920| 73 74 72 28 22 54 6f 44 | 6f 53 74 72 22 29 0d 72 |str("ToD|oStr").r|
|00003930| 65 70 65 61 74 20 77 69 | 74 68 20 61 3d 31 20 74 |epeat wi|th a=1 t|
|00003940| 6f 20 6e 75 6d 4c 6e 73 | 28 63 61 29 0d 69 66 20 |o numLns|(ca).if |
|00003950| 77 68 20 69 73 20 77 69 | 74 68 69 6e 20 6c 69 6e |wh is wi|thin lin|
|00003960| 65 20 61 20 6f 66 20 63 | 61 20 74 68 65 6e 0d 70 |e a of c|a then.p|
|00003970| 75 74 20 69 74 65 6d 20 | 61 20 6f 66 20 69 74 20 |ut item |a of it |
|00003980| 69 6e 74 6f 20 74 6f 64 | 6f 0d 69 66 20 74 6f 64 |into tod|o.if tod|
|00003990| 6f 20 3d 20 22 64 6f 63 | 68 61 70 22 20 74 68 65 |o = "doc|hap" the|
|000039a0| 6e 20 70 75 74 20 22 22 | 20 69 6e 74 6f 20 6c 61 |n put ""| into la|
|000039b0| 73 74 73 70 65 65 63 68 | 0d 64 6f 20 74 6f 64 6f |stspeech|.do todo|
|000039c0| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|000039d0| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 | if.end |repeat.e|
|000039e0| 6e 64 20 63 57 68 61 74 | 0d 6f 6e 20 63 6d 0d 66 |nd cWhat|.on cm.f|
|000039f0| 61 64 65 67 61 6d 6d 61 | 64 6f 77 6e 20 35 0d 72 |adegamma|down 5.r|
|00003a00| 65 70 65 61 74 20 77 69 | 74 68 20 61 20 3d 20 74 |epeat wi|th a = t|
|00003a10| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 77 69 6e |he numbe|r of win|
|00003a20| 64 6f 77 73 20 64 6f 77 | 6e 20 74 6f 20 31 0d 69 |dows dow|n to 1.i|
|00003a30| 66 20 74 68 65 20 6f 77 | 6e 65 72 20 6f 66 20 77 |f the ow|ner of w|
|00003a40| 69 6e 64 6f 77 20 61 20 | 3d 20 22 6d 6f 76 69 65 |indow a |= "movie|
|00003a50| 22 0d 74 68 65 6e 20 63 | 6c 6f 73 65 20 77 69 6e |".then c|lose win|
|00003a60| 64 6f 77 20 61 0d 65 6e | 64 20 72 65 70 65 61 74 |dow a.en|d repeat|
|00003a70| 0d 70 75 74 20 67 65 74 | 73 63 72 65 65 6e 64 65 |.put get|screende|
|00003a80| 70 74 68 28 29 20 69 6e | 74 6f 20 67 0d 73 65 74 |pth() in|to g.set|
|00003a90| 73 63 72 65 65 6e 64 65 | 70 74 68 20 69 74 65 6d |screende|pth item|
|00003aa0| 20 31 20 6f 66 20 67 2c | 69 74 65 6d 20 32 20 6f | 1 of g,|item 2 o|
|00003ab0| 66 20 67 0d 66 61 64 65 | 67 61 6d 6d 61 75 70 20 |f g.fade|gammaup |
|00003ac0| 35 0d 65 6e 64 20 63 6d | 0d 6f 6e 20 75 70 64 61 |5.end cm|.on upda|
|00003ad0| 74 65 61 6c 6c 0d 67 6c | 6f 62 61 6c 20 6c 61 73 |teall.gl|obal las|
|00003ae0| 74 63 68 61 70 0d 70 75 | 74 20 22 22 20 69 6e 74 |tchap.pu|t "" int|
|00003af0| 6f 20 6c 61 73 74 63 68 | 61 70 0d 75 70 64 61 74 |o lastch|ap.updat|
|00003b00| 65 63 69 74 65 73 0d 75 | 70 64 61 74 65 63 69 74 |ecites.u|pdatecit|
|00003b10| 65 70 61 67 65 73 0d 65 | 6e 64 20 75 70 64 61 74 |epages.e|nd updat|
|00003b20| 65 61 6c 6c 0d 6f 6e 20 | 66 69 6c 6c 6d 79 63 68 |eall.on |fillmych|
|00003b30| 61 70 74 65 72 73 0d 67 | 6c 6f 62 61 6c 20 6d 79 |apters.g|lobal my|
|00003b40| 63 6f 6e 74 65 6e 74 73 | 2c 6d 79 70 61 67 65 73 |contents|,mypages|
|00003b50| 0d 70 75 74 20 66 6c 64 | 20 22 6d 79 63 68 61 70 |.put fld| "mychap|
|00003b60| 74 65 72 73 22 20 6f 66 | 20 63 64 20 31 20 69 6e |ters" of| cd 1 in|
|00003b70| 74 6f 20 6d 79 63 6f 6e | 74 65 6e 74 73 0d 70 75 |to mycon|tents.pu|
|00003b80| 74 20 66 6c 64 20 22 6d | 79 63 68 61 70 74 65 72 |t fld "m|ychapter|
|00003b90| 73 74 61 72 74 22 20 6f | 66 20 63 64 20 31 20 69 |start" o|f cd 1 i|
|00003ba0| 6e 74 6f 20 6d 79 70 61 | 67 65 73 0d 65 6e 64 20 |nto mypa|ges.end |
|00003bb0| 66 69 6c 6c 6d 79 63 68 | 61 70 74 65 72 73 0d 6f |fillmych|apters.o|
|00003bc0| 6e 20 67 6f 63 68 61 70 | 74 65 72 20 77 68 69 63 |n gochap|ter whic|
|00003bd0| 68 0d 67 6c 6f 62 61 6c | 20 63 68 61 70 74 65 72 |h.global| chapter|
|00003be0| 73 74 61 72 74 0d 73 65 | 74 20 63 75 72 73 6f 72 |start.se|t cursor|
|00003bf0| 20 74 6f 20 77 61 74 63 | 68 0d 69 66 20 74 68 65 | to watc|h.if the|
|00003c00| 20 6e 75 6d 62 65 72 20 | 6f 66 20 77 6f 72 64 73 | number |of words|
|00003c10| 20 69 6e 20 77 68 69 63 | 68 20 3d 20 32 0d 74 68 | in whic|h = 2.th|
|00003c20| 65 6e 20 70 75 74 20 77 | 6f 72 64 20 32 20 6f 66 |en put w|ord 2 of|
|00003c30| 20 77 68 69 63 68 20 69 | 6e 74 6f 20 73 0d 65 6c | which i|nto s.el|
|00003c40| 73 65 20 70 75 74 20 22 | 22 20 69 6e 74 6f 20 73 |se put "|" into s|
|00003c50| 0d 70 75 74 20 77 6f 72 | 64 20 31 20 6f 66 20 77 |.put wor|d 1 of w|
|00003c60| 68 69 63 68 20 69 6e 74 | 6f 20 77 68 69 63 68 0d |hich int|o which.|
|00003c70| 70 75 74 20 63 68 61 70 | 74 65 72 73 74 61 72 74 |put chap|terstart|
|00003c80| 20 69 6e 74 6f 20 63 73 | 0d 67 65 74 20 74 68 65 | into cs|.get the|
|00003c90| 20 69 74 65 6d 64 65 6c | 69 6d 69 74 65 72 0d 64 | itemdel|imiter.d|
|00003ca0| 6f 20 22 73 6f 72 74 20 | 69 74 65 6d 73 20 6f 66 |o "sort |items of|
|00003cb0| 20 63 73 20 6e 75 6d 65 | 72 69 63 22 0d 72 65 70 | cs nume|ric".rep|
|00003cc0| 65 61 74 0d 69 66 20 69 | 74 65 6d 20 31 20 6f 66 |eat.if i|tem 1 of|
|00003cd0| 20 63 73 20 69 73 20 6e | 6f 74 20 61 20 6e 75 6d | cs is n|ot a num|
|00003ce0| 62 65 72 20 6f 72 20 76 | 61 6c 75 65 20 6f 66 20 |ber or v|alue of |
|00003cf0| 69 74 65 6d 20 31 20 6f | 66 20 63 73 20 3c 20 31 |item 1 o|f cs < 1|
|00003d00| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 69 74 65 | then de|lete ite|
|00003d10| 6d 20 31 20 6f 66 20 63 | 73 0d 65 6c 73 65 20 65 |m 1 of c|s.else e|
|00003d20| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 72 |xit repe|at.end r|
|00003d30| 65 70 65 61 74 0d 69 66 | 20 77 68 69 63 68 20 3d |epeat.if| which =|
|00003d40| 20 22 22 20 6f 72 20 77 | 68 69 63 68 20 3e 20 74 | "" or w|hich > t|
|00003d50| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 69 74 65 |he numbe|r of ite|
|00003d60| 6d 73 20 69 6e 20 63 73 | 20 74 68 65 6e 20 65 78 |ms in cs| then ex|
|00003d70| 69 74 20 67 6f 63 68 61 | 70 74 65 72 0d 63 63 73 |it gocha|pter.ccs|
|00003d80| 0d 67 6f 50 61 67 65 20 | 69 74 65 6d 20 77 68 69 |.goPage |item whi|
|00003d90| 63 68 20 6f 66 20 63 73 | 0d 69 66 20 73 20 3c 3e |ch of cs|.if s <>|
|00003da0| 20 22 22 20 74 68 65 6e | 20 73 70 65 65 63 68 20 | "" then| speech |
|00003db0| 73 0d 75 70 64 61 74 65 | 61 6c 6c 0d 65 6e 64 20 |s.update|all.end |
|00003dc0| 67 6f 63 68 61 70 74 65 | 72 0d 6f 6e 20 73 68 6f |gochapte|r.on sho|
|00003dd0| 77 63 6f 6e 74 65 6e 74 | 73 20 66 72 6f 6d 62 6f |wcontent|s frombo|
|00003de0| 74 74 6f 6d 0d 67 6c 6f | 62 61 6c 20 6d 79 63 6f |ttom.glo|bal myco|
|00003df0| 6e 74 65 6e 74 73 2c 6d | 79 70 61 67 65 73 2c 74 |ntents,m|ypages,t|
|00003e00| 63 74 2c 6c 61 73 74 63 | 68 61 70 2c 63 68 61 70 |ct,lastc|hap,chap|
|00003e10| 74 65 72 73 2c 63 68 61 | 70 74 65 72 73 74 61 72 |ters,cha|pterstar|
|00003e20| 74 0d 69 66 20 6d 79 63 | 6f 6e 74 65 6e 74 73 20 |t.if myc|ontents |
|00003e30| 3d 20 22 22 0d 74 68 65 | 6e 0d 70 75 74 20 63 68 |= "".the|n.put ch|
|00003e40| 61 70 74 65 72 73 20 69 | 6e 74 6f 20 6d 79 63 6f |apters i|nto myco|
|00003e50| 6e 74 65 6e 74 73 0d 70 | 75 74 20 63 68 61 70 74 |ntents.p|ut chapt|
|00003e60| 65 72 73 74 61 72 74 20 | 69 6e 74 6f 20 6d 79 70 |erstart |into myp|
|00003e70| 61 67 65 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 74 |age.end |if.put t|
|00003e80| 68 65 20 63 6c 69 63 6b | 68 20 69 6e 74 6f 20 78 |he click|h into x|
|00003e90| 0d 70 75 74 20 74 68 65 | 20 63 6c 69 63 6b 76 20 |.put the| clickv |
|00003ea0| 69 6e 74 6f 20 79 0d 70 | 75 74 20 30 20 69 6e 74 |into y.p|ut 0 int|
|00003eb0| 6f 20 74 0d 69 66 20 66 | 72 6f 6d 62 6f 74 74 6f |o t.if f|rombotto|
|00003ec0| 6d 20 3c 3e 20 22 22 20 | 74 68 65 6e 20 70 75 74 |m <> "" |then put|
|00003ed0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|00003ee0| 69 6e 65 73 20 69 6e 20 | 6d 79 63 6f 6e 74 65 6e |ines in |myconten|
|00003ef0| 74 73 20 69 6e 74 6f 20 | 74 0d 67 65 74 20 70 6f |ts into |t.get po|
|00003f00| 70 69 74 75 70 28 6d 79 | 63 6f 6e 74 65 6e 74 73 |pitup(my|contents|
|00003f10| 2c 74 2c 78 2c 79 29 0d | 69 66 20 69 74 65 6d 20 |,t,x,y).|if item |
|00003f20| 31 20 6f 66 20 69 74 20 | 3d 20 30 20 74 68 65 6e |1 of it |= 0 then|
|00003f30| 20 65 78 69 74 20 73 68 | 6f 77 63 6f 6e 74 65 6e | exit sh|owconten|
|00003f40| 74 73 0d 67 65 74 20 69 | 74 65 6d 28 69 74 65 6d |ts.get i|tem(item|
|00003f50| 20 32 20 6f 66 20 69 74 | 20 29 20 6f 66 20 6c 69 | 2 of it| ) of li|
|00003f60| 6e 65 20 28 69 74 65 6d | 20 31 20 6f 66 20 69 74 |ne (item| 1 of it|
|00003f70| 29 20 6f 66 20 6d 79 70 | 61 67 65 73 0d 70 75 74 |) of myp|ages.put|
|00003f80| 20 22 22 20 69 6e 74 6f | 20 6c 65 63 74 75 72 65 | "" into| lecture|
|00003f90| 0d 69 66 20 69 74 20 3c | 3e 20 22 22 0d 74 68 65 |.if it <|> "".the|
|00003fa0| 6e 0d 69 66 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |n.if the| number |
|00003fb0| 6f 66 20 77 6f 72 64 73 | 20 69 6e 20 69 74 20 3d |of words| in it =|
|00003fc0| 20 32 0d 74 68 65 6e 0d | 70 75 74 20 77 6f 72 64 | 2.then.|put word|
|00003fd0| 20 32 20 6f 66 20 69 74 | 20 69 6e 74 6f 20 6c 65 | 2 of it| into le|
|00003fe0| 63 74 75 72 65 0d 67 65 | 74 20 77 6f 72 64 20 31 |cture.ge|t word 1|
|00003ff0| 20 6f 66 20 69 74 0d 65 | 6e 64 20 69 66 0d 6c 73 | of it.e|nd if.ls|
|00004000| 0d 63 63 73 0d 67 6f 70 | 61 67 65 20 69 74 0d 69 |.ccs.gop|age it.i|
|00004010| 66 20 6c 65 63 74 75 72 | 65 20 3c 3e 20 22 22 20 |f lectur|e <> "" |
|00004020| 74 68 65 6e 20 73 70 65 | 65 63 68 20 6c 65 63 74 |then spe|ech lect|
|00004030| 75 72 65 0d 75 73 0d 65 | 6e 64 20 69 66 0d 69 66 |ure.us.e|nd if.if|
|00004040| 20 74 68 65 72 65 20 69 | 73 20 61 20 66 69 65 6c | there i|s a fiel|
|00004050| 64 20 22 63 68 61 70 74 | 65 72 20 6e 61 6d 65 22 |d "chapt|er name"|
|00004060| 0d 74 68 65 6e 20 75 70 | 64 61 74 65 61 6c 6c 0d |.then up|dateall.|
|00004070| 65 6e 64 20 73 68 6f 77 | 63 6f 6e 74 65 6e 74 73 |end show|contents|
|00004080| 0d 6f 6e 20 75 73 66 0d | 72 65 70 65 61 74 20 75 |.on usf.|repeat u|
|00004090| 6e 74 69 6c 20 74 68 65 | 20 6c 6f 63 6b 73 63 72 |ntil the| lockscr|
|000040a0| 65 65 6e 20 3d 20 66 61 | 6c 73 65 0d 75 6e 6c 6f |een = fa|lse.unlo|
|000040b0| 63 6b 20 73 63 72 65 65 | 6e 0d 65 6e 64 20 72 65 |ck scree|n.end re|
|000040c0| 70 65 61 74 0d 65 6e 64 | 20 75 73 66 0d 6f 6e 20 |peat.end| usf.on |
|000040d0| 41 64 64 54 6f 52 54 20 | 77 0d 67 6c 6f 62 61 6c |AddToRT |w.global|
|000040e0| 20 52 54 4d 65 6e 75 2c | 52 54 49 44 73 2c 67 4f | RTMenu,|RTIDs,gO|
|000040f0| 72 69 67 43 61 72 64 49 | 44 2c 63 75 72 72 73 70 |rigCardI|D,currsp|
|00004100| 65 65 63 68 0d 69 66 20 | 63 75 72 72 73 70 65 65 |eech.if |currspee|
|00004110| 63 68 20 3d 20 22 22 20 | 74 68 65 6e 20 70 75 74 |ch = "" |then put|
|00004120| 20 31 20 69 6e 74 6f 20 | 63 75 72 72 73 70 65 65 | 1 into |currspee|
|00004130| 63 68 0d 69 66 20 67 4f | 72 69 67 43 61 72 64 49 |ch.if gO|rigCardI|
|00004140| 44 ad 73 68 6f 72 74 20 | 69 64 20 6f 66 20 74 68 |D.short |id of th|
|00004150| 69 73 20 63 64 20 61 6e | 64 20 67 4f 72 69 67 43 |is cd an|d gOrigC|
|00004160| 61 72 64 49 44 ad 22 22 | 20 74 68 65 6e 20 65 78 |ardID.""| then ex|
|00004170| 69 74 20 41 64 64 54 6f | 52 54 0d 70 75 74 20 6e |it AddTo|RT.put n|
|00004180| 75 6d 4c 6e 73 28 52 54 | 4d 65 6e 75 29 20 69 6e |umLns(RT|Menu) in|
|00004190| 74 6f 20 6e 6c 0d 69 66 | 20 6e 6c 3e 31 35 20 74 |to nl.if| nl>15 t|
|000041a0| 68 65 6e 0d 64 65 6c 65 | 74 65 20 6c 69 6e 65 20 |hen.dele|te line |
|000041b0| 6e 6c 20 6f 66 20 52 54 | 4d 65 6e 75 0d 64 65 6c |nl of RT|Menu.del|
|000041c0| 65 74 65 20 6c 69 6e 65 | 20 6e 6c 20 6f 66 20 52 |ete line| nl of R|
|000041d0| 54 49 44 73 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |TIDs.end| if.put |
|000041e0| 6c 69 6e 65 20 31 20 6f | 66 20 77 20 69 6e 74 6f |line 1 o|f w into|
|000041f0| 20 77 0d 67 65 74 20 77 | 0d 70 75 74 20 69 74 26 | w.get w|.put it&|
|00004200| 72 65 74 75 72 6e 20 62 | 65 66 6f 72 65 20 52 54 |return b|efore RT|
|00004210| 4d 65 6e 75 0d 70 75 74 | 20 22 73 70 65 65 63 68 |Menu.put| "speech|
|00004220| 22 26 26 20 63 75 72 72 | 73 70 65 65 63 68 20 69 |"&& curr|speech i|
|00004230| 6e 74 6f 20 74 68 65 66 | 6c 64 0d 69 66 20 43 4e |nto thef|ld.if CN|
|00004240| 28 29 20 3d 20 31 0d 74 | 68 65 6e 20 67 65 74 20 |() = 1.t|hen get |
|00004250| 22 74 63 22 26 26 73 63 | 72 6f 6c 6c 20 6f 66 20 |"tc"&&sc|roll of |
|00004260| 63 64 20 66 6c 64 20 74 | 68 65 66 6c 64 20 26 26 |cd fld t|hefld &&|
|00004270| 63 75 72 72 73 70 65 65 | 63 68 26 22 20 22 0d 65 |currspee|ch&" ".e|
|00004280| 6c 73 65 20 67 65 74 20 | 22 22 0d 70 75 74 20 69 |lse get |"".put i|
|00004290| 74 20 26 20 73 68 6f 72 | 74 20 69 64 20 6f 66 20 |t & shor|t id of |
|000042a0| 74 68 69 73 20 63 64 26 | 22 fe 22 26 6e 26 72 65 |this cd&|"."&n&re|
|000042b0| 74 75 72 6e 20 62 65 66 | 6f 72 65 20 52 54 49 44 |turn bef|ore RTID|
|000042c0| 73 0d 67 65 74 20 6c 69 | 6e 65 20 31 20 6f 66 20 |s.get li|ne 1 of |
|000042d0| 52 54 4d 65 6e 75 0d 72 | 65 70 65 61 74 20 77 69 |RTMenu.r|epeat wi|
|000042e0| 74 68 20 78 3d 6e 6c 2b | 31 20 64 6f 77 6e 20 74 |th x=nl+|1 down t|
|000042f0| 6f 20 32 2d 2d 20 78 3d | 32 20 74 6f 20 6e 6c 2b |o 2-- x=|2 to nl+|
|00004300| 31 0d 69 66 20 6c 69 6e | 65 20 78 20 6f 66 20 52 |1.if lin|e x of R|
|00004310| 54 4d 65 6e 75 3d 69 74 | 20 74 68 65 6e 0d 64 65 |TMenu=it| then.de|
|00004320| 6c 65 74 65 20 6c 69 6e | 65 20 78 20 6f 66 20 52 |lete lin|e x of R|
|00004330| 54 4d 65 6e 75 0d 64 65 | 6c 65 74 65 20 6c 69 6e |TMenu.de|lete lin|
|00004340| 65 20 78 20 6f 66 20 52 | 54 49 44 73 0d 65 78 69 |e x of R|TIDs.exi|
|00004350| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |t repeat|.end if.|
|00004360| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 41 |end repe|at.end A|
|00004370| 64 64 54 6f 52 54 0d 6f | 6e 20 69 64 6c 65 0d 67 |ddToRT.o|n idle.g|
|00004380| 6c 6f 62 61 6c 20 6d 53 | 54 2c 6d 53 2c 66 61 64 |lobal mS|T,mS,fad|
|00004390| 65 64 0d 69 66 20 6d 53 | 3d 22 22 20 74 68 65 6e |ed.if mS|="" then|
|000043a0| 20 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 | put fal|se into |
|000043b0| 6d 53 0d 69 66 20 6d 53 | 54 3d 74 72 75 65 20 74 |mS.if mS|T=true t|
|000043c0| 68 65 6e 0d 73 68 6f 77 | 20 6d 65 6e 75 62 61 72 |hen.show| menubar|
|000043d0| 0d 65 6c 73 65 0d 67 65 | 74 20 6d 6f 75 73 65 76 |.else.ge|t mousev|
|000043e0| 28 29 2b 74 6f 70 20 6f | 66 20 63 64 20 77 69 6e |()+top o|f cd win|
|000043f0| 64 6f 77 0d 69 66 20 69 | 74 3c 35 20 74 68 65 6e |dow.if i|t<5 then|
|00004400| 20 73 68 6f 77 20 6d 65 | 6e 75 62 61 72 0d 65 6c | show me|nubar.el|
|00004410| 73 65 20 69 66 20 69 74 | 3e 32 30 20 74 68 65 6e |se if it|>20 then|
|00004420| 20 68 69 64 65 20 6d 65 | 6e 75 62 61 72 0d 65 6e | hide me|nubar.en|
|00004430| 64 20 69 66 0d 69 66 20 | 74 68 65 72 65 20 69 73 |d if.if |there is|
|00004440| 20 6e 6f 74 20 61 20 6d | 65 6e 75 20 22 62 6f 6f | not a m|enu "boo|
|00004450| 6b 73 22 20 74 68 65 6e | 20 62 6f 6f 6b 73 6d 65 |ks" then| booksme|
|00004460| 6e 75 0d 69 66 20 66 61 | 64 65 64 20 3d 20 74 72 |nu.if fa|ded = tr|
|00004470| 75 65 0d 74 68 65 6e 0d | 70 75 74 20 66 61 6c 73 |ue.then.|put fals|
|00004480| 65 20 69 6e 74 6f 20 66 | 61 64 65 64 0d 66 61 64 |e into f|aded.fad|
|00004490| 65 67 61 6d 6d 61 75 70 | 20 31 30 0d 65 6e 64 20 |egammaup| 10.end |
|000044a0| 69 66 0d 70 61 73 73 20 | 69 64 6c 65 0d 65 6e 64 |if.pass |idle.end|
|000044b0| 20 69 64 6c 65 0d 6f 6e | 20 63 6f 6c 6f 72 4d 65 | idle.on| colorMe|
|000044c0| 0d 67 6c 6f 62 61 6c 20 | 6c 61 73 74 62 67 70 69 |.global |lastbgpi|
|000044d0| 63 2c 68 65 61 64 65 72 | 6e 61 6d 65 73 2c 63 68 |c,header|names,ch|
|000044e0| 61 70 74 65 72 74 69 74 | 6c 65 6e 61 6d 65 73 0d |aptertit|lenames.|
|000044f0| 67 65 74 20 43 4e 28 29 | 0d 69 66 20 69 74 20 3e |get CN()|.if it >|
|00004500| 20 33 36 30 30 20 74 68 | 65 6e 20 61 64 64 20 31 | 3600 th|en add 1|
|00004510| 20 74 6f 20 69 74 0d 67 | 65 74 20 22 47 6f 75 6c | to it.g|et "Goul|
|00004520| 64 20 43 44 3a 47 50 69 | 63 73 3a 22 26 20 69 74 |d CD:GPi|cs:"& it|
|00004530| 2b 34 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |+4.if th|ere is a|
|00004540| 20 66 69 6c 65 20 69 74 | 0d 74 68 65 6e 0d 73 65 | file it|.then.se|
|00004550| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|00004560| 68 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 6c 61 |h.put ""| into la|
|00004570| 73 74 62 67 70 69 63 0d | 69 66 20 74 68 65 20 6e |stbgpic.|if the n|
|00004580| 75 6d 62 65 72 20 6f 66 | 20 74 68 69 73 20 63 64 |umber of| this cd|
|00004590| 20 3e 20 33 36 30 30 0d | 74 68 65 6e 20 61 64 64 | > 3600.|then add|
|000045a0| 63 6f 6c 6f 72 20 63 6f | 6c 6f 72 70 69 63 74 66 |color co|lorpictf|
|000045b0| 69 6c 65 2c 63 64 2c 69 | 74 2c 22 30 2c 30 22 2c |ile,cd,i|t,"0,0",|
|000045c0| 6f 2c 73 74 61 6d 70 2c | 30 0d 65 6c 73 65 20 61 |o,stamp,|0.else a|
|000045d0| 64 64 63 6f 6c 6f 72 20 | 63 6f 6c 6f 72 70 69 63 |ddcolor |colorpic|
|000045e0| 74 66 69 6c 65 2c 63 64 | 2c 69 74 2c 22 30 2c 30 |tfile,cd|,it,"0,0|
|000045f0| 22 2c 74 2c 73 74 61 6d | 70 2c 30 0d 65 6e 64 20 |",t,stam|p,0.end |
|00004600| 69 66 0d 69 66 20 43 44 | 73 28 29 0d 74 68 65 6e |if.if CD|s().then|
|00004610| 0d 67 65 74 20 6c 69 6e | 65 20 77 61 69 28 29 20 |.get lin|e wai() |
|00004620| 6f 66 20 68 65 61 64 65 | 72 6e 61 6d 65 73 0d 61 |of heade|rnames.a|
|00004630| 64 64 63 6f 6c 6f 72 20 | 63 6f 6c 6f 72 70 69 63 |ddcolor |colorpic|
|00004640| 74 2c 63 64 2c 69 74 2c | 22 31 38 31 2c 33 34 22 |t,cd,it,|"181,34"|
|00004650| 2c 6f 2c 73 74 61 6d 70 | 2c 30 0d 65 6e 64 20 69 |,o,stamp|,0.end i|
|00004660| 66 0d 65 6e 64 20 63 6f | 6c 6f 72 4d 65 0d 6f 6e |f.end co|lorMe.on|
|00004670| 20 66 69 6c 6c 6d 61 70 | 73 0d 67 6c 6f 62 61 6c | fillmap|s.global|
|00004680| 20 6d 61 70 61 72 65 61 | 73 2c 6d 61 70 6c 6f 63 | maparea|s,maploc|
|00004690| 73 2c 6d 61 70 73 66 6f | 6c 64 65 72 0d 70 75 74 |s,mapsfo|lder.put|
|000046a0| 20 22 47 6f 75 6c 64 20 | 43 44 3a 42 47 50 69 63 | "Gould |CD:BGPic|
|000046b0| 73 3a 4d 61 70 20 50 69 | 63 73 3a 22 20 69 6e 74 |s:Map Pi|cs:" int|
|000046c0| 6f 20 6d 61 70 73 66 6f | 6c 64 65 72 0d 70 75 74 |o mapsfo|lder.put|
|000046d0| 20 67 65 74 73 74 72 28 | 22 6d 61 70 6e 61 6d 65 | getstr(|"mapname|
|000046e0| 73 22 29 20 69 6e 74 6f | 20 6d 61 70 61 72 65 61 |s") into| maparea|
|000046f0| 73 0d 70 75 74 20 67 65 | 74 73 74 72 28 22 6d 61 |s.put ge|tstr("ma|
|00004700| 70 70 6c 61 63 65 73 22 | 29 20 69 6e 74 6f 20 6d |pplaces"|) into m|
|00004710| 61 70 6c 6f 63 73 0d 65 | 6e 64 20 66 69 6c 6c 6d |aplocs.e|nd fillm|
|00004720| 61 70 73 0d 6f 6e 20 6f | 70 65 6e 73 74 61 63 6b |aps.on o|penstack|
|00004730| 0d 67 6c 6f 62 61 6c 20 | 73 70 63 61 73 65 2c 63 |.global |spcase,c|
|00004740| 74 6c 6c 6f 63 2c 73 65 | 63 74 69 6f 6e 73 74 61 |tlloc,se|ctionsta|
|00004750| 72 74 73 2c 68 65 61 64 | 65 72 6e 61 6d 65 73 2c |rts,head|ernames,|
|00004760| 63 6c 53 54 2c 67 4e 42 | 53 4e 2c 63 68 61 70 74 |clST,gNB|SN,chapt|
|00004770| 65 72 73 74 61 72 74 2c | 63 68 61 70 74 65 72 73 |erstart,|chapters|
|00004780| 0d 69 66 20 63 61 6e 74 | 6d 6f 64 69 66 79 20 6f |.if cant|modify o|
|00004790| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 74 68 65 |f this s|tack the|
|000047a0| 6e 20 67 65 74 6f 75 74 | 20 22 50 6c 65 61 73 65 |n getout| "Please|
|000047b0| 20 63 6f 70 79 20 74 68 | 65 20 47 6f 75 6c 64 20 | copy th|e Gould |
|000047c0| 66 6f 6c 64 65 72 20 66 | 72 6f 6d 20 74 68 65 20 |folder f|rom the |
|000047d0| 43 44 20 74 6f 20 79 6f | 75 72 20 68 61 72 64 20 |CD to yo|ur hard |
|000047e0| 64 69 73 6b 2e 22 0d 69 | 66 20 74 68 65 72 65 20 |disk.".i|f there |
|000047f0| 69 73 20 6e 6f 74 20 61 | 20 66 69 6c 65 20 22 47 |is not a| file "G|
|00004800| 6f 75 6c 64 20 43 44 3a | 47 6f 75 6c 64 20 46 6f |ould CD:|Gould Fo|
|00004810| 6e 74 73 22 20 74 68 65 | 6e 20 67 65 74 6f 75 74 |nts" the|n getout|
|00004820| 20 22 50 6c 65 61 73 65 | 20 69 6e 73 65 72 74 20 | "Please| insert |
|00004830| 74 68 65 20 47 6f 75 6c | 64 20 43 44 20 61 6e 64 |the Goul|d CD and|
|00004840| 20 74 72 79 20 61 67 61 | 69 6e 2e 22 0d 69 66 20 | try aga|in.".if |
|00004850| 51 54 56 65 72 73 69 6f | 6e 28 29 3d 30 20 74 68 |QTVersio|n()=0 th|
|00004860| 65 6e 20 67 65 74 6f 75 | 74 20 22 50 6c 65 61 73 |en getou|t "Pleas|
|00004870| 65 20 69 6e 73 74 61 6c | 6c 20 51 75 69 63 6b 54 |e instal|l QuickT|
|00004880| 69 6d 65 aa 2c 20 77 68 | 69 63 68 20 69 73 20 70 |ime., wh|ich is p|
|00004890| 72 6f 76 69 64 65 64 20 | 6f 6e 20 74 68 65 20 47 |rovided |on the G|
|000048a0| 6f 75 6c 64 20 43 44 2e | 22 0d 69 66 20 63 6c 53 |ould CD.|".if clS|
|000048b0| 54 20 3d 20 22 22 20 74 | 68 65 6e 20 70 75 74 20 |T = "" t|hen put |
|000048c0| 66 61 6c 73 65 20 69 6e | 74 6f 20 63 6c 53 54 0d |false in|to clST.|
|000048d0| 70 75 74 20 63 64 20 66 | 6c 64 20 22 68 65 61 64 |put cd f|ld "head|
|000048e0| 65 72 73 22 20 6f 66 20 | 63 64 20 31 20 69 6e 74 |ers" of |cd 1 int|
|000048f0| 6f 20 68 65 61 64 65 72 | 6e 61 6d 65 73 0d 70 75 |o header|names.pu|
|00004900| 74 20 22 34 2c 35 2c 39 | 39 31 2c 31 32 39 33 2c |t "4,5,9|91,1293,|
|00004910| 31 33 32 35 2c 31 34 37 | 38 2c 32 35 33 37 2c 33 |1325,147|8,2537,3|
|00004920| 36 38 32 22 20 69 6e 74 | 6f 20 73 65 63 74 69 6f |682" int|o sectio|
|00004930| 6e 73 74 61 72 74 73 0d | 70 75 74 20 22 2d 31 30 |nstarts.|put "-10|
|00004940| 30 30 30 2c 2d 31 30 30 | 30 30 22 20 69 6e 74 6f |000,-100|00" into|
|00004950| 20 63 74 6c 6c 6f 63 0d | 66 69 6c 6c 6d 79 63 68 | ctlloc.|fillmych|
|00004960| 61 70 74 65 72 73 0d 70 | 75 74 20 74 72 75 65 20 |apters.p|ut true |
|00004970| 69 6e 74 6f 20 6c 69 6e | 65 20 31 20 6f 66 20 73 |into lin|e 1 of s|
|00004980| 70 63 61 73 65 0d 73 65 | 74 20 74 68 65 20 63 61 |pcase.se|t the ca|
|00004990| 6e 74 61 62 6f 72 74 20 | 6f 66 20 74 68 69 73 20 |ntabort |of this |
|000049a0| 73 74 61 63 6b 20 74 6f | 20 74 72 75 65 0d 69 66 |stack to| true.if|
|000049b0| 20 6e 6f 74 20 53 74 61 | 63 6b 49 6e 55 73 65 28 | not Sta|ckInUse(|
|000049c0| 22 54 68 65 20 4c 69 62 | 72 61 72 79 22 29 20 74 |"The Lib|rary") t|
|000049d0| 68 65 6e 20 73 74 61 72 | 74 20 75 73 69 6e 67 20 |hen star|t using |
|000049e0| 73 74 61 63 6b 20 47 65 | 74 53 74 61 63 6b 50 61 |stack Ge|tStackPa|
|000049f0| 74 68 28 29 26 22 54 68 | 65 20 4c 69 62 72 61 72 |th()&"Th|e Librar|
|00004a00| 79 22 0d 63 68 65 63 6b | 56 65 72 73 69 6f 6e 73 |y".check|Versions|
|00004a10| 0d 63 68 65 63 6b 46 6f | 6e 74 73 0d 70 75 74 20 |.checkFo|nts.put |
|00004a20| 73 73 6e 28 29 20 69 6e | 74 6f 20 67 4e 42 53 4e |ssn() in|to gNBSN|
|00004a30| 0d 6a 75 73 74 6f 70 65 | 6e 65 64 0d 70 75 74 20 |.justope|ned.put |
|00004a40| 22 54 68 65 20 4e 6f 74 | 65 62 6f 6f 6b 22 20 69 |"The Not|ebook" i|
|00004a50| 6e 74 6f 20 67 4e 42 53 | 4e 0d 70 75 74 20 66 6c |nto gNBS|N.put fl|
|00004a60| 64 20 22 63 68 61 70 74 | 65 72 20 73 74 61 72 74 |d "chapt|er start|
|00004a70| 73 22 20 6f 66 20 63 64 | 20 31 20 69 6e 74 6f 20 |s" of cd| 1 into |
|00004a80| 63 68 61 70 74 65 72 73 | 74 61 72 74 0d 70 75 74 |chapters|tart.put|
|00004a90| 20 66 6c 64 20 22 63 68 | 61 70 74 65 72 20 6e 61 | fld "ch|apter na|
|00004aa0| 6d 65 73 22 20 6f 66 20 | 63 64 20 31 20 69 6e 74 |mes" of |cd 1 int|
|00004ab0| 6f 20 63 68 61 70 74 65 | 72 73 0d 75 70 64 61 74 |o chapte|rs.updat|
|00004ac0| 65 55 4d 53 74 61 74 65 | 0d 66 69 6c 6c 6d 61 70 |eUMState|.fillmap|
|00004ad0| 73 0d 67 65 74 20 48 61 | 73 43 53 54 52 28 22 48 |s.get Ha|sCSTR("H|
|00004ae0| 61 73 45 78 4c 69 62 72 | 69 73 22 29 0d 69 66 20 |asExLibr|is").if |
|00004af0| 69 74 20 3d 20 22 22 20 | 6f 72 20 69 74 20 3d 20 |it = "" |or it = |
|00004b00| 22 74 72 75 65 22 20 74 | 68 65 6e 0d 64 6f 43 53 |"true" t|hen.doCS|
|00004b10| 54 52 20 22 56 61 6c 69 | 64 69 74 79 43 53 54 52 |TR "Vali|dityCSTR|
|00004b20| 22 0d 65 6e 64 20 69 66 | 0d 73 65 74 20 74 68 65 |".end if|.set the|
|00004b30| 20 63 61 6e 74 61 62 6f | 72 74 20 6f 66 20 74 68 | cantabo|rt of th|
|00004b40| 69 73 20 73 74 61 63 6b | 20 74 6f 20 66 61 6c 73 |is stack| to fals|
|00004b50| 65 0d 69 6e 73 74 61 6c | 6c 61 64 64 63 6f 6c 6f |e.instal|laddcolo|
|00004b60| 72 0d 73 65 74 20 62 6c | 69 6e 64 74 79 70 69 6e |r.set bl|indtypin|
|00004b70| 67 20 74 6f 20 74 72 75 | 65 0d 70 61 73 73 20 6f |g to tru|e.pass o|
|00004b80| 70 65 6e 73 74 61 63 6b | 0d 65 6e 64 20 6f 70 65 |penstack|.end ope|
|00004b90| 6e 73 74 61 63 6b 0d 6f | 6e 20 69 6e 73 74 61 6c |nstack.o|n instal|
|00004ba0| 6c 61 64 64 63 6f 6c 6f | 72 0d 41 64 64 43 6f 6c |laddcolo|r.AddCol|
|00004bb0| 6f 72 20 69 6e 73 74 61 | 6c 6c 0d 41 64 64 43 6f |or insta|ll.AddCo|
|00004bc0| 6c 6f 72 20 65 6e 61 62 | 6c 65 0d 41 64 64 63 6f |lor enab|le.Addco|
|00004bd0| 6c 6f 72 20 67 65 74 62 | 69 74 73 63 61 6c 6c 0d |lor getb|itscall.|
|00004be0| 67 65 74 20 74 68 65 20 | 72 65 73 75 6c 74 0d 61 |get the |result.a|
|00004bf0| 64 64 63 6f 6c 6f 72 66 | 69 78 20 69 74 0d 65 6e |ddcolorf|ix it.en|
|00004c00| 64 20 69 6e 73 74 61 6c | 6c 61 64 64 63 6f 6c 6f |d instal|laddcolo|
|00004c10| 72 0d 66 75 6e 63 74 69 | 6f 6e 20 72 69 67 68 74 |r.functi|on right|
|00004c20| 76 65 72 73 69 6f 6e 0d | 67 65 74 20 74 68 65 20 |version.|get the |
|00004c30| 76 65 72 73 69 6f 6e 0d | 69 66 20 69 74 20 3c 20 |version.|if it < |
|00004c40| 32 2e 31 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 |2.1 then|.answer |
|00004c50| 22 54 68 69 73 20 62 6f | 6f 6b 20 6e 65 65 64 73 |"This bo|ok needs|
|00004c60| 20 48 79 70 65 72 43 61 | 72 64 20 32 2e 31 20 6f | HyperCa|rd 2.1 o|
|00004c70| 72 20 6c 61 74 65 72 20 | 74 6f 20 77 6f 72 6b 20 |r later |to work |
|00004c80| 70 72 6f 70 65 72 6c 79 | 2e 22 0d 72 65 74 75 72 |properly|.".retur|
|00004c90| 6e 20 66 61 6c 73 65 0d | 65 6c 73 65 0d 72 65 74 |n false.|else.ret|
|00004ca0| 75 72 6e 20 74 72 75 65 | 0d 65 6e 64 20 69 66 0d |urn true|.end if.|
|00004cb0| 65 6e 64 20 72 69 67 68 | 74 76 65 72 73 69 6f 6e |end righ|tversion|
|00004cc0| 0d 66 75 6e 63 74 69 6f | 6e 20 72 69 67 68 74 4c |.functio|n rightL|
|00004cd0| 69 62 72 61 72 79 0d 70 | 75 74 20 67 65 74 53 74 |ibrary.p|ut getSt|
|00004ce0| 72 28 22 54 68 69 73 4c | 69 62 72 61 72 79 56 65 |r("ThisL|ibraryVe|
|00004cf0| 72 73 69 6f 6e 22 29 20 | 69 6e 74 6f 20 4c 56 0d |rsion") |into LV.|
|00004d00| 69 66 20 4c 56 20 3d 20 | 22 22 20 74 68 65 6e 20 |if LV = |"" then |
|00004d10| 70 75 74 20 22 31 2e 31 | 22 20 69 6e 74 6f 20 4c |put "1.1|" into L|
|00004d20| 56 0d 70 75 74 20 67 65 | 74 53 74 72 28 22 4e 65 |V.put ge|tStr("Ne|
|00004d30| 65 64 73 4c 69 62 72 61 | 72 79 56 65 72 73 69 6f |edsLibra|ryVersio|
|00004d40| 6e 22 29 20 69 6e 74 6f | 20 42 4c 56 0d 69 66 20 |n") into| BLV.if |
|00004d50| 42 4c 56 20 3d 20 22 22 | 20 74 68 65 6e 20 70 75 |BLV = ""| then pu|
|00004d60| 74 20 22 31 2e 31 22 20 | 69 6e 74 6f 20 42 4c 56 |t "1.1" |into BLV|
|00004d70| 0d 69 66 20 4c 56 20 3c | 20 42 4c 56 20 74 68 65 |.if LV <| BLV the|
|00004d80| 6e 0d 61 6e 73 77 65 72 | 20 74 68 65 20 73 68 6f |n.answer| the sho|
|00004d90| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00004da0| 73 74 61 63 6b 26 26 22 | 6e 65 65 64 73 20 76 65 |stack&&"|needs ve|
|00004db0| 72 73 69 6f 6e 22 26 26 | 42 4c 56 26 26 22 6f 72 |rsion"&&|BLV&&"or|
|00004dc0| 20 6c 61 74 65 72 20 6f | 66 20 54 68 65 20 4c 69 | later o|f The Li|
|00004dd0| 62 72 61 72 79 20 74 6f | 20 72 75 6e 20 70 72 6f |brary to| run pro|
|00004de0| 70 65 72 6c 79 2e 22 0d | 72 65 74 75 72 6e 20 66 |perly.".|return f|
|00004df0| 61 6c 73 65 0d 65 6c 73 | 65 0d 72 65 74 75 72 6e |alse.els|e.return|
|00004e00| 20 74 72 75 65 0d 65 6e | 64 20 69 66 0d 65 6e 64 | true.en|d if.end|
|00004e10| 20 72 69 67 68 74 4c 69 | 62 72 61 72 79 0d 6f 6e | rightLi|brary.on|
|00004e20| 20 75 70 64 61 74 65 55 | 4d 53 74 61 74 65 0d 67 | updateU|MState.g|
|00004e30| 6c 6f 62 61 6c 20 61 6e | 6e 53 54 2c 67 53 54 0d |lobal an|nST,gST.|
|00004e40| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 77 69 |if there| is a wi|
|00004e50| 6e 64 6f 77 20 67 61 75 | 67 65 20 74 68 65 6e 20 |ndow gau|ge then |
|00004e60| 68 69 64 65 20 77 69 6e | 64 6f 77 20 67 61 75 67 |hide win|dow gaug|
|00004e70| 65 0d 70 75 74 20 66 61 | 6c 73 65 20 69 6e 74 6f |e.put fa|lse into|
|00004e80| 20 67 53 54 0d 63 68 65 | 63 6b 20 22 70 72 6f 67 | gST.che|ck "prog|
|00004e90| 72 65 73 73 20 67 61 75 | 67 65 22 2c 66 61 6c 73 |ress gau|ge",fals|
|00004ea0| 65 0d 70 75 74 20 74 72 | 75 65 20 69 6e 74 6f 20 |e.put tr|ue into |
|00004eb0| 61 6e 6e 53 54 0d 63 68 | 65 63 6b 20 61 6e 6e 6f |annST.ch|eck anno|
|00004ec0| 74 61 74 69 6f 6e 73 2c | 74 72 75 65 0d 73 68 6f |tations,|true.sho|
|00004ed0| 77 20 67 72 6f 75 70 73 | 0d 67 65 74 20 22 55 74 |w groups|.get "Ut|
|00004ee0| 69 6c 69 74 69 65 73 2c | 6c 61 72 67 65 20 70 72 |ilities,|large pr|
|00004ef0| 69 6e 74 2c 70 61 70 65 | 72 20 63 6c 69 70 73 2c |int,pape|r clips,|
|00004f00| 44 65 6c 65 74 65 20 53 | 61 76 65 64 20 46 69 6e |Delete S|aved Fin|
|00004f10| 64 c9 2c 45 78 70 6f 72 | 74 20 42 6f 6f 6b 20 4d |d.,Expor|t Book M|
|00004f20| 61 72 6b 69 6e 67 73 2c | 49 6d 70 6f 72 74 20 42 |arkings,|Import B|
|00004f30| 6f 6f 6b 20 4d 61 72 6b | 69 6e 67 73 22 0d 72 65 |ook Mark|ings".re|
|00004f40| 70 65 61 74 20 77 69 74 | 68 20 61 20 3d 20 31 20 |peat wit|h a = 1 |
|00004f50| 74 6f 20 36 0d 64 6d 65 | 6e 75 20 69 74 65 6d 20 |to 6.dme|nu item |
|00004f60| 61 20 6f 66 20 69 74 2c | 22 42 6f 6f 6b 73 22 0d |a of it,|"Books".|
|00004f70| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 4d 65 6e 75 |end repe|at.eMenu|
|00004f80| 20 22 61 6e 6e 6f 74 61 | 74 69 6f 6e 73 22 2c 20 | "annota|tions", |
|00004f90| 22 42 6f 6f 6b 73 22 0d | 65 4d 65 6e 75 20 22 54 |"Books".|eMenu "T|
|00004fa0| 6f 6f 6c 20 50 61 6c 65 | 74 74 65 22 2c 22 42 6f |ool Pale|tte","Bo|
|00004fb0| 6f 6b 73 22 0d 65 4d 65 | 6e 75 20 22 50 72 6f 67 |oks".eMe|nu "Prog|
|00004fc0| 72 65 73 73 20 67 61 75 | 67 65 22 2c 22 42 6f 6f |ress gau|ge","Boo|
|00004fd0| 6b 73 22 0d 65 6e 64 20 | 75 70 64 61 74 65 55 4d |ks".end |updateUM|
|00004fe0| 53 74 61 74 65 0d 6f 6e | 20 63 68 65 63 6b 56 65 |State.on| checkVe|
|00004ff0| 72 73 69 6f 6e 73 0d 69 | 66 20 6e 6f 74 20 72 69 |rsions.i|f not ri|
|00005000| 67 68 74 76 65 72 73 69 | 6f 6e 28 29 20 74 68 65 |ghtversi|on() the|
|00005010| 6e 0d 64 6f 6d 65 6e 75 | 20 22 71 75 69 74 20 68 |n.domenu| "quit h|
|00005020| 79 70 65 72 63 61 72 64 | 22 0d 65 78 69 74 20 74 |ypercard|".exit t|
|00005030| 6f 20 68 79 70 65 72 63 | 61 72 64 0d 65 6e 64 20 |o hyperc|ard.end |
|00005040| 69 66 0d 69 66 20 6e 6f | 74 20 72 69 67 68 74 4c |if.if no|t rightL|
|00005050| 69 62 72 61 72 79 28 29 | 20 74 68 65 6e 0d 64 6f |ibrary()| then.do|
|00005060| 6d 65 6e 75 20 22 71 75 | 69 74 20 68 79 70 65 72 |menu "qu|it hyper|
|00005070| 63 61 72 64 22 0d 65 78 | 69 74 20 74 6f 20 68 79 |card".ex|it to hy|
|00005080| 70 65 72 63 61 72 64 0d | 65 6e 64 20 69 66 0d 65 |percard.|end if.e|
|00005090| 6e 64 20 63 68 65 63 6b | 56 65 72 73 69 6f 6e 73 |nd check|Versions|
|000050a0| 0d 66 75 6e 63 74 69 6f | 6e 20 73 74 61 63 6b 45 |.functio|n stackE|
|000050b0| 78 69 73 74 73 20 6e 0d | 70 75 74 20 66 61 6c 73 |xists n.|put fals|
|000050c0| 65 20 69 6e 74 6f 20 62 | 0d 70 75 74 20 67 65 74 |e into b|.put get|
|000050d0| 73 74 61 63 6b 70 61 74 | 68 28 29 20 69 6e 74 6f |stackpat|h() into|
|000050e0| 20 64 69 72 0d 70 75 74 | 20 67 65 74 46 69 6c 65 | dir.put| getFile|
|000050f0| 73 49 6e 44 69 72 28 64 | 69 72 2c 22 22 2c 72 65 |sInDir(d|ir,"",re|
|00005100| 74 75 72 6e 29 20 69 6e | 74 6f 20 66 6c 69 73 74 |turn) in|to flist|
|00005110| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 78 20 3d |.repeat |with x =|
|00005120| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number|
|00005130| 20 6f 66 20 6c 69 6e 65 | 73 20 69 6e 20 66 6c 69 | of line|s in fli|
|00005140| 73 74 0d 70 75 74 20 28 | 6c 69 6e 65 20 78 20 6f |st.put (|line x o|
|00005150| 66 20 66 6c 69 73 74 20 | 3d 20 6e 29 20 69 6e 74 |f flist |= n) int|
|00005160| 6f 20 62 0d 69 66 20 62 | 20 74 68 65 6e 20 65 78 |o b.if b| then ex|
|00005170| 69 74 20 72 65 70 65 61 | 74 0d 65 6e 64 20 72 65 |it repea|t.end re|
|00005180| 70 65 61 74 0d 72 65 74 | 75 72 6e 20 62 0d 65 6e |peat.ret|urn b.en|
|00005190| 64 20 73 74 61 63 6b 45 | 78 69 73 74 73 0d 6f 6e |d stackE|xists.on|
|000051a0| 20 72 65 73 75 6d 65 73 | 74 61 63 6b 0d 69 66 20 | resumes|tack.if |
|000051b0| 6e 6f 74 20 53 74 61 63 | 6b 49 6e 55 73 65 28 22 |not Stac|kInUse("|
|000051c0| 54 68 65 20 4c 69 62 72 | 61 72 79 22 29 20 74 68 |The Libr|ary") th|
|000051d0| 65 6e 20 73 74 61 72 74 | 20 75 73 69 6e 67 20 73 |en start| using s|
|000051e0| 74 61 63 6b 20 47 65 74 | 53 74 61 63 6b 50 61 74 |tack Get|StackPat|
|000051f0| 68 28 29 26 22 54 68 65 | 20 4c 69 62 72 61 72 79 |h()&"The| Library|
|00005200| 22 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f |".if the|re is no|
|00005210| 74 20 61 20 6d 65 6e 75 | 20 22 62 6f 6f 6b 73 22 |t a menu| "books"|
|00005220| 20 74 68 65 6e 0d 6a 75 | 73 74 6f 70 65 6e 65 64 | then.ju|stopened|
|00005230| 0d 65 6c 73 65 0d 66 69 | 6c 6c 74 68 65 6d 0d 65 |.else.fi|llthem.e|
|00005240| 6e 64 20 69 66 0d 6d 6f | 76 65 77 69 6e 64 6f 77 |nd if.mo|vewindow|
|00005250| 0d 69 66 20 43 44 73 28 | 29 20 61 6e 64 20 6e 6f |.if CDs(|) and no|
|00005260| 74 20 52 42 28 29 20 74 | 68 65 6e 0d 4c 53 0d 55 |t RB() t|hen.LS.U|
|00005270| 44 74 6f 6f 6c 73 0d 73 | 65 6e 64 20 6f 63 73 74 |Dtools.s|end ocst|
|00005280| 75 66 66 20 74 6f 20 74 | 68 69 73 20 63 61 72 64 |uff to t|his card|
|00005290| 0d 55 53 0d 65 6e 64 20 | 69 66 0d 75 70 64 61 74 |.US.end |if.updat|
|000052a0| 65 55 4d 53 74 61 74 65 | 0d 70 61 73 73 20 72 65 |eUMState|.pass re|
|000052b0| 73 75 6d 65 73 74 61 63 | 6b 0d 65 6e 64 20 72 65 |sumestac|k.end re|
|000052c0| 73 75 6d 65 73 74 61 63 | 6b 0d 6f 6e 20 63 6c 6f |sumestac|k.on clo|
|000052d0| 73 65 73 74 61 63 6b 0d | 67 6c 6f 62 61 6c 20 63 |sestack.|global c|
|000052e0| 74 6c 6c 6f 63 2c 67 65 | 74 74 69 6e 67 6f 75 74 |tlloc,ge|ttingout|
|000052f0| 0d 69 66 20 67 65 74 74 | 69 6e 67 6f 75 74 20 3d |.if gett|ingout =|
|00005300| 20 74 72 75 65 20 74 68 | 65 6e 20 65 78 69 74 20 | true th|en exit |
|00005310| 63 6c 6f 73 65 73 74 61 | 63 6b 0d 70 75 74 20 22 |closesta|ck.put "|
|00005320| 33 30 2c 32 30 30 22 20 | 69 6e 74 6f 20 63 74 6c |30,200" |into ctl|
|00005330| 6c 6f 63 0d 73 65 74 20 | 74 68 65 20 63 61 6e 74 |loc.set |the cant|
|00005340| 61 62 6f 72 74 20 6f 66 | 20 74 68 69 73 20 73 74 |abort of| this st|
|00005350| 61 63 6b 20 74 6f 20 74 | 72 75 65 0d 64 6f 43 53 |ack to t|rue.doCS|
|00005360| 54 52 20 22 53 61 76 65 | 42 6f 6f 6b 4d 65 6e 75 |TR "Save|BookMenu|
|00005370| 53 65 74 74 69 6e 67 73 | 43 53 54 52 22 0d 70 61 |Settings|CSTR".pa|
|00005380| 73 73 20 63 6c 6f 73 65 | 73 74 61 63 6b 0d 41 64 |ss close|stack.Ad|
|00005390| 64 43 6f 6c 6f 72 20 72 | 65 6d 6f 76 65 0d 65 6e |dColor r|emove.en|
|000053a0| 64 20 63 6c 6f 73 65 73 | 74 61 63 6b 0d 6f 6e 20 |d closes|tack.on |
|000053b0| 73 75 73 70 65 6e 64 73 | 74 61 63 6b 0d 64 6f 43 |suspends|tack.doC|
|000053c0| 53 54 52 20 22 53 61 76 | 65 42 6f 6f 6b 4d 65 6e |STR "Sav|eBookMen|
|000053d0| 75 53 65 74 74 69 6e 67 | 73 43 53 54 52 22 0d 67 |uSetting|sCSTR".g|
|000053e0| 65 74 20 73 62 6e 28 29 | 0d 69 66 20 69 74 20 3d |et sbn()|.if it =|
|000053f0| 20 22 64 65 74 61 69 6c | 73 22 20 74 68 65 6e 20 | "detail|s" then |
|00005400| 41 64 64 54 6f 52 54 20 | 66 6c 64 20 22 64 65 73 |AddToRT |fld "des|
|00005410| 63 72 69 70 74 69 6f 6e | 22 0d 65 6c 73 65 20 69 |cription|".else i|
|00005420| 66 20 69 74 20 3d 20 22 | 74 69 74 6c 65 20 70 61 |f it = "|title pa|
|00005430| 67 65 22 20 74 68 65 6e | 20 41 64 64 54 6f 52 54 |ge" then| AddToRT|
|00005440| 20 66 6c 64 20 22 64 65 | 73 63 72 69 70 74 69 6f | fld "de|scriptio|
|00005450| 6e 22 0d 70 61 73 73 20 | 73 75 73 70 65 6e 64 73 |n".pass |suspends|
|00005460| 74 61 63 6b 0d 65 6e 64 | 20 73 75 73 70 65 6e 64 |tack.end| suspend|
|00005470| 73 74 61 63 6b 0d 66 75 | 6e 63 74 69 6f 6e 20 53 |stack.fu|nction S|
|00005480| 74 61 63 6b 49 6e 55 73 | 65 20 73 6e 0d 70 75 74 |tackInUs|e sn.put|
|00005490| 20 74 68 65 20 69 74 65 | 6d 64 65 6c 69 6d 69 74 | the ite|mdelimit|
|000054a0| 65 72 20 69 6e 74 6f 20 | 69 64 0d 70 75 74 20 74 |er into |id.put t|
|000054b0| 68 65 20 73 74 61 63 6b | 73 69 6e 75 73 65 20 69 |he stack|sinuse i|
|000054c0| 6e 74 6f 20 73 69 75 0d | 70 75 74 20 66 61 6c 73 |nto siu.|put fals|
|000054d0| 65 20 69 6e 74 6f 20 62 | 0d 73 65 74 20 74 68 65 |e into b|.set the|
|000054e0| 20 69 74 65 6d 64 65 6c | 69 6d 69 74 65 72 20 74 | itemdel|imiter t|
|000054f0| 6f 20 22 3a 22 0d 72 65 | 70 65 61 74 20 77 69 74 |o ":".re|peat wit|
|00005500| 68 20 78 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h x = 1 |to the n|
|00005510| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 69 |umber of| lines i|
|00005520| 6e 20 73 69 75 0d 70 75 | 74 20 28 73 6e 3d 6c 61 |n siu.pu|t (sn=la|
|00005530| 73 74 20 69 74 65 6d 20 | 6f 66 20 6c 69 6e 65 20 |st item |of line |
|00005540| 78 20 6f 66 20 73 69 75 | 29 20 69 6e 74 6f 20 62 |x of siu|) into b|
|00005550| 0d 69 66 20 62 20 74 68 | 65 6e 20 65 78 69 74 20 |.if b th|en exit |
|00005560| 72 65 70 65 61 74 0d 65 | 6e 64 20 72 65 70 65 61 |repeat.e|nd repea|
|00005570| 74 0d 73 65 74 20 74 68 | 65 20 69 74 65 6d 64 65 |t.set th|e itemde|
|00005580| 6c 69 6d 69 74 65 72 20 | 74 6f 20 69 64 0d 72 65 |limiter |to id.re|
|00005590| 74 75 72 6e 20 62 0d 65 | 6e 64 20 53 74 61 63 6b |turn b.e|nd Stack|
|000055a0| 49 6e 55 73 65 0d 66 75 | 6e 63 74 69 6f 6e 20 67 |InUse.fu|nction g|
|000055b0| 65 74 53 74 61 63 6b 50 | 61 74 68 0d 67 65 74 20 |etStackP|ath.get |
|000055c0| 6c 6f 6e 67 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |long nam|e of thi|
|000055d0| 73 20 73 74 61 63 6b 0d | 64 65 6c 65 74 65 20 77 |s stack.|delete w|
|000055e0| 6f 72 64 20 31 20 6f 66 | 20 69 74 0d 64 65 6c 65 |ord 1 of| it.dele|
|000055f0| 74 65 20 63 68 61 72 20 | 31 20 6f 66 20 69 74 0d |te char |1 of it.|
|00005600| 64 65 6c 65 74 65 20 6c | 61 73 74 20 63 68 61 72 |delete l|ast char|
|00005610| 20 6f 66 20 69 74 0d 70 | 75 74 20 74 68 65 20 69 | of it.p|ut the i|
|00005620| 74 65 6d 64 65 6c 69 6d | 69 74 65 72 20 69 6e 74 |temdelim|iter int|
|00005630| 6f 20 69 64 0d 73 65 74 | 20 69 74 65 6d 64 65 6c |o id.set| itemdel|
|00005640| 69 6d 69 74 65 72 20 74 | 6f 20 22 3a 22 0d 64 65 |imiter t|o ":".de|
|00005650| 6c 65 74 65 20 6c 61 73 | 74 20 69 74 65 6d 20 6f |lete las|t item o|
|00005660| 66 20 69 74 0d 73 65 74 | 20 69 74 65 6d 64 65 6c |f it.set| itemdel|
|00005670| 69 6d 69 74 65 72 20 74 | 6f 20 69 64 0d 72 65 74 |imiter t|o id.ret|
|00005680| 75 72 6e 20 69 74 26 22 | 3a 22 0d 65 6e 64 20 67 |urn it&"|:".end g|
|00005690| 65 74 53 74 61 63 6b 50 | 61 74 68 0d 6f 6e 20 63 |etStackP|ath.on c|
|000056a0| 68 65 63 6b 46 6f 6e 74 | 73 0d 67 6c 6f 62 61 6c |heckFont|s.global|
|000056b0| 20 67 65 74 74 69 6e 67 | 6f 75 74 0d 70 75 74 20 | getting|out.put |
|000056c0| 48 61 73 43 53 54 52 28 | 22 46 6f 6e 74 4c 69 73 |HasCSTR(|"FontLis|
|000056d0| 74 22 29 20 69 6e 74 6f | 20 74 68 65 46 6f 6e 74 |t") into| theFont|
|000056e0| 73 0d 69 66 20 74 68 65 | 46 6f 6e 74 73 3d 22 22 |s.if the|Fonts=""|
|000056f0| 20 74 68 65 6e 20 65 78 | 69 74 20 63 68 65 63 6b | then ex|it check|
|00005700| 46 6f 6e 74 73 0d 70 75 | 74 20 22 22 20 69 6e 74 |Fonts.pu|t "" int|
|00005710| 6f 20 6d 69 73 73 69 6e | 67 0d 70 75 74 20 74 68 |o missin|g.put th|
|00005720| 65 20 69 74 65 6d 64 65 | 6c 69 6d 69 74 65 72 20 |e itemde|limiter |
|00005730| 69 6e 74 6f 20 69 64 0d | 72 65 70 65 61 74 20 77 |into id.|repeat w|
|00005740| 69 74 68 20 78 20 3d 20 | 31 20 74 6f 20 74 68 65 |ith x = |1 to the|
|00005750| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00005760| 20 69 6e 20 74 68 65 46 | 6f 6e 74 73 0d 67 65 74 | in theF|onts.get|
|00005770| 20 6c 69 6e 65 20 78 20 | 6f 66 20 74 68 65 46 6f | line x |of theFo|
|00005780| 6e 74 73 0d 69 66 20 6e | 6f 74 28 46 6f 6e 74 45 |nts.if n|ot(FontE|
|00005790| 78 69 73 74 73 28 69 74 | 65 6d 20 31 20 6f 66 20 |xists(it|em 1 of |
|000057a0| 69 74 2c 20 69 74 65 6d | 20 32 20 6f 66 20 69 74 |it, item| 2 of it|
|000057b0| 29 29 20 74 68 65 6e 0d | 70 75 74 20 69 74 20 69 |)) then.|put it i|
|000057c0| 6e 74 6f 20 6c 69 6e 65 | 20 28 28 74 68 65 20 6e |nto line| ((the n|
|000057d0| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 69 |umber of| lines i|
|000057e0| 6e 20 6d 69 73 73 69 6e | 67 29 20 2b 20 31 29 20 |n missin|g) + 1) |
|000057f0| 6f 66 20 6d 69 73 73 69 | 6e 67 0d 65 6e 64 20 69 |of missi|ng.end i|
|00005800| 66 0d 69 66 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |f.if the| number |
|00005810| 6f 66 20 63 68 61 72 73 | 20 69 6e 20 6d 69 73 73 |of chars| in miss|
|00005820| 69 6e 67 20 3e 20 32 30 | 30 20 74 68 65 6e 20 65 |ing > 20|0 then e|
|00005830| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 72 |xit repe|at.end r|
|00005840| 65 70 65 61 74 0d 69 66 | 20 6d 69 73 73 69 6e 67 |epeat.if| missing|
|00005850| ad 22 22 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 |."" then|.answer |
|00005860| 22 53 6f 6d 65 20 66 6f | 6e 74 73 20 61 72 65 20 |"Some fo|nts are |
|00005870| 6e 6f 74 20 69 6e 73 74 | 61 6c 6c 65 64 2e 20 50 |not inst|alled. P|
|00005880| 6c 65 61 73 65 20 69 6e | 73 74 61 6c 6c 20 74 68 |lease in|stall th|
|00005890| 65 20 66 6f 6e 74 73 20 | 70 72 6f 76 69 64 65 64 |e fonts |provided|
|000058a0| 20 6f 6e 20 74 68 65 20 | 43 44 2e 22 20 77 69 74 | on the |CD." wit|
|000058b0| 68 20 22 43 6f 6e 74 69 | 6e 75 65 22 20 6f 72 20 |h "Conti|nue" or |
|000058c0| 22 51 75 69 74 22 0d 69 | 66 20 69 74 20 3d 20 22 |"Quit".i|f it = "|
|000058d0| 51 75 69 74 22 20 74 68 | 65 6e 20 67 65 74 6f 75 |Quit" th|en getou|
|000058e0| 74 0d 65 6e 64 20 69 66 | 0d 73 65 74 20 74 68 65 |t.end if|.set the|
|000058f0| 20 69 74 65 6d 64 65 6c | 69 6d 69 74 65 72 20 74 | itemdel|imiter t|
|00005900| 6f 20 69 64 0d 65 6e 64 | 20 63 68 65 63 6b 46 6f |o id.end| checkFo|
|00005910| 6e 74 73 0d 6f 6e 20 75 | 70 64 61 74 65 63 69 74 |nts.on u|pdatecit|
|00005920| 65 70 61 67 65 73 0d 67 | 6c 6f 62 61 6c 20 6c 61 |epages.g|lobal la|
|00005930| 73 74 63 68 61 70 0d 70 | 75 74 20 74 68 65 20 69 |stchap.p|ut the i|
|00005940| 74 65 6d 64 65 6c 69 6d | 69 74 65 72 20 69 6e 74 |temdelim|iter int|
|00005950| 6f 20 69 64 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |o id.put| "" into|
|00005960| 20 74 68 65 74 65 78 74 | 0d 70 75 74 20 66 6c 64 | thetext|.put fld|
|00005970| 20 22 63 69 74 61 74 69 | 6f 6e 73 22 20 69 6e 74 | "citati|ons" int|
|00005980| 6f 20 63 69 74 65 73 0d | 70 75 74 20 77 61 69 28 |o cites.|put wai(|
|00005990| 29 20 69 6e 74 6f 20 74 | 68 69 73 63 68 61 70 0d |) into t|hischap.|
|000059a0| 70 75 74 20 74 68 69 73 | 63 68 61 70 20 69 6e 74 |put this|chap int|
|000059b0| 6f 20 6c 61 73 74 63 68 | 61 70 0d 67 65 74 20 6f |o lastch|ap.get o|
|000059c0| 66 66 73 65 74 28 22 a6 | 22 26 74 68 69 73 63 68 |ffset(".|"&thisch|
|000059d0| 61 70 26 22 a6 22 2c 63 | 69 74 65 73 29 0d 69 66 |ap&".",c|ites).if|
|000059e0| 20 69 74 20 3d 20 30 0d | 74 68 65 6e 0d 70 75 74 | it = 0.|then.put|
|000059f0| 20 22 22 20 69 6e 74 6f | 20 74 68 65 74 65 78 74 | "" into| thetext|
|00005a00| 0d 65 6c 73 65 0d 64 65 | 6c 65 74 65 20 63 68 61 |.else.de|lete cha|
|00005a10| 72 20 31 20 74 6f 20 69 | 74 20 6f 66 20 63 69 74 |r 1 to i|t of cit|
|00005a20| 65 73 0d 73 65 74 20 74 | 68 65 20 69 74 65 6d 64 |es.set t|he itemd|
|00005a30| 65 6c 69 6d 69 74 65 72 | 20 74 6f 20 22 a6 22 0d |elimiter| to ".".|
|00005a40| 67 65 74 20 6c 61 73 74 | 20 69 74 65 6d 20 6f 66 |get last| item of|
|00005a50| 20 6c 69 6e 65 20 31 20 | 6f 66 20 63 69 74 65 73 | line 1 |of cites|
|00005a60| 0d 73 65 74 20 74 68 65 | 20 69 74 65 6d 64 65 6c |.set the| itemdel|
|00005a70| 69 6d 69 74 65 72 20 74 | 6f 20 22 a4 22 0d 67 65 |imiter t|o ".".ge|
|00005a80| 74 20 6c 61 73 74 20 69 | 74 65 6d 20 6f 66 20 69 |t last i|tem of i|
|00005a90| 74 0d 73 65 74 20 74 68 | 65 20 69 74 65 6d 64 65 |t.set th|e itemde|
|00005aa0| 6c 69 6d 69 74 65 72 20 | 74 6f 20 22 2c 22 0d 72 |limiter |to ",".r|
|00005ab0| 65 70 65 61 74 20 77 69 | 74 68 20 61 20 3d 20 31 |epeat wi|th a = 1|
|00005ac0| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00005ad0| 66 20 69 74 65 6d 73 20 | 69 6e 20 69 74 0d 70 75 |f items |in it.pu|
|00005ae0| 74 20 69 74 65 6d 20 61 | 20 6f 66 20 69 74 20 69 |t item a| of it i|
|00005af0| 6e 74 6f 20 6c 69 6e 65 | 20 61 20 6f 66 20 74 68 |nto line| a of th|
|00005b00| 65 74 65 78 74 0d 65 6e | 64 20 72 65 70 65 61 74 |etext.en|d repeat|
|00005b10| 0d 65 6e 64 20 69 66 0d | 73 65 74 20 74 68 65 20 |.end if.|set the |
|00005b20| 69 74 65 6d 64 65 6c 69 | 6d 69 74 65 72 20 74 6f |itemdeli|miter to|
|00005b30| 20 69 64 0d 70 75 74 20 | 74 68 65 74 65 78 74 20 | id.put |thetext |
|00005b40| 69 6e 74 6f 20 66 6c 64 | 20 22 63 69 74 61 74 69 |into fld| "citati|
|00005b50| 6f 6e 73 20 70 61 67 65 | 73 22 0d 65 6e 64 20 75 |ons page|s".end u|
|00005b60| 70 64 61 74 65 63 69 74 | 65 70 61 67 65 73 0d 6f |pdatecit|epages.o|
|00005b70| 6e 20 75 70 64 61 74 65 | 63 69 74 65 73 0d 69 66 |n update|cites.if|
|00005b80| 20 43 4e 28 29 3c 32 20 | 74 68 65 6e 20 65 78 69 | CN()<2 |then exi|
|00005b90| 74 20 75 70 64 61 74 65 | 63 69 74 65 73 0d 70 75 |t update|cites.pu|
|00005ba0| 74 20 77 61 69 28 29 20 | 69 6e 74 6f 20 77 0d 67 |t wai() |into w.g|
|00005bb0| 65 74 20 22 6f 72 69 67 | 69 6e 63 69 74 65 64 22 |et "orig|incited"|
|00005bc0| 0d 69 66 20 77 20 3c 20 | 31 30 35 20 74 68 65 6e |.if w < |105 then|
|00005bd0| 20 67 65 74 20 22 62 65 | 61 67 6c 65 63 69 74 65 | get "be|aglecite|
|00005be0| 64 22 0d 69 66 20 77 20 | 3c 20 38 33 20 74 68 65 |d".if w |< 83 the|
|00005bf0| 6e 20 67 65 74 20 22 68 | 69 73 74 6f 72 69 63 61 |n get "h|istorica|
|00005c00| 6c 63 69 74 65 64 22 0d | 69 66 20 77 20 3c 20 36 |lcited".|if w < 6|
|00005c10| 38 20 74 68 65 6e 20 67 | 65 74 20 22 62 69 62 6c |8 then g|et "bibl|
|00005c20| 69 6f 63 69 74 65 64 22 | 0d 69 66 20 77 20 3c 20 |iocited"|.if w < |
|00005c30| 36 37 20 74 68 65 6e 20 | 67 65 74 20 22 65 73 73 |67 then |get "ess|
|00005c40| 61 79 73 63 69 74 65 64 | 22 0d 69 66 20 77 20 3c |ayscited|".if w <|
|00005c50| 20 35 30 20 74 68 65 6e | 20 67 65 74 20 22 62 75 | 50 then| get "bu|
|00005c60| 6c 6c 79 63 69 74 65 64 | 22 0d 69 66 20 66 6c 64 |llycited|".if fld|
|00005c70| 20 22 63 69 74 65 22 20 | 3d 20 22 22 20 74 68 65 | "cite" |= "" the|
|00005c80| 6e 20 67 65 74 20 22 6e | 6f 74 22 26 69 74 0d 69 |n get "n|ot"&it.i|
|00005c90| 66 20 72 63 6e 28 29 3c | 74 68 65 20 6e 75 6d 62 |f rcn()<|the numb|
|00005ca0| 65 72 20 6f 66 20 63 61 | 72 64 20 22 77 6f 72 6c |er of ca|rd "worl|
|00005cb0| 64 22 20 61 6e 64 20 22 | 2c 22 26 63 6e 28 29 26 |d" and "|,"&cn()&|
|00005cc0| 22 2c 22 20 69 73 20 6e | 6f 74 20 69 6e 20 22 2c |"," is n|ot in ",|
|00005cd0| 32 2c 31 33 32 32 2c 31 | 34 37 35 2c 32 35 33 34 |2,1322,1|475,2534|
|00005ce0| 2c 39 38 38 2c 22 0d 74 | 68 65 6e 20 61 64 64 63 |,988,".t|hen addc|
|00005cf0| 6f 6c 6f 72 20 63 6f 6c | 6f 72 70 69 63 74 2c 63 |olor col|orpict,c|
|00005d00| 64 2c 69 74 2c 22 30 2c | 30 22 2c 6f 2c 73 74 61 |d,it,"0,|0",o,sta|
|00005d10| 6d 70 2c 30 0d 65 6e 64 | 20 75 70 64 61 74 65 63 |mp,0.end| updatec|
|00005d20| 69 74 65 73 0d 6f 6e 20 | 64 72 61 77 62 67 70 69 |ites.on |drawbgpi|
|00005d30| 63 0d 67 6c 6f 62 61 6c | 20 6c 61 73 74 63 61 72 |c.global| lastcar|
|00005d40| 64 2c 6c 61 73 74 62 67 | 70 69 63 2c 62 67 70 69 |d,lastbg|pic,bgpi|
|00005d50| 63 66 6f 6c 64 65 72 2c | 6e 61 76 74 6f 6f 6c 73 |cfolder,|navtools|
|00005d60| 2c 74 63 74 2c 63 6c 53 | 54 0d 67 65 74 20 22 22 |,tct,clS|T.get ""|
|00005d70| 0d 6c 73 0d 69 66 20 62 | 67 70 69 63 66 6f 6c 64 |.ls.if b|gpicfold|
|00005d80| 65 72 20 3d 20 22 22 20 | 74 68 65 6e 20 70 75 74 |er = "" |then put|
|00005d90| 20 22 47 6f 75 6c 64 20 | 43 44 3a 42 47 50 69 63 | "Gould |CD:BGPic|
|00005da0| 73 3a 22 20 69 6e 74 6f | 20 62 67 70 69 63 66 6f |s:" into| bgpicfo|
|00005db0| 6c 64 65 72 0d 69 66 20 | 63 6c 53 54 20 3d 20 22 |lder.if |clST = "|
|00005dc0| 22 20 74 68 65 6e 20 70 | 75 74 20 74 72 75 65 20 |" then p|ut true |
|00005dd0| 69 6e 74 6f 20 63 6c 53 | 54 0d 69 66 20 74 68 65 |into clS|T.if the|
|00005de0| 72 65 20 69 73 20 61 20 | 66 69 65 6c 64 20 22 63 |re is a |field "c|
|00005df0| 68 61 70 74 65 72 20 6e | 61 6d 65 22 20 74 68 65 |hapter n|ame" the|
|00005e00| 6e 20 75 70 64 61 74 65 | 61 6c 6c 0d 70 75 74 20 |n update|all.put |
|00005e10| 77 61 69 28 29 20 69 6e | 74 6f 20 74 63 0d 69 66 |wai() in|to tc.if|
|00005e20| 20 52 43 4e 28 29 b2 74 | 63 74 20 74 68 65 6e 20 | RCN().t|ct then |
|00005e30| 67 65 74 20 22 74 6f 63 | 20 70 69 63 22 0d 69 66 |get "toc| pic".if|
|00005e40| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00005e50| 6f 66 20 74 68 69 73 20 | 63 64 20 3d 20 22 54 4f |of this |cd = "TO|
|00005e60| 43 22 20 74 68 65 6e 20 | 67 65 74 20 22 74 6f 63 |C" then |get "toc|
|00005e70| 20 70 69 63 22 0d 69 66 | 20 52 43 4e 28 29 3d 31 | pic".if| RCN()=1|
|00005e80| 20 74 68 65 6e 20 67 65 | 74 20 22 74 69 74 6c 65 | then ge|t "title|
|00005e90| 20 70 69 63 22 0d 69 66 | 20 52 43 4e 28 29 3d 32 | pic".if| RCN()=2|
|00005ea0| 20 74 68 65 6e 20 67 65 | 74 20 22 43 6f 70 79 72 | then ge|t "Copyr|
|00005eb0| 69 67 68 74 22 0d 69 66 | 20 74 63 20 3d 20 31 20 |ight".if| tc = 1 |
|00005ec0| 74 68 65 6e 20 67 65 74 | 20 22 6d 6f 76 69 65 20 |then get| "movie |
|00005ed0| 62 67 22 0d 69 66 20 74 | 63 20 3d 20 32 20 74 68 |bg".if t|c = 2 th|
|00005ee0| 65 6e 20 67 65 74 20 22 | 62 75 6c 6c 79 20 6f 70 |en get "|bully op|
|00005ef0| 65 6e 65 72 22 0d 69 66 | 20 74 63 20 3e 20 32 20 |ener".if| tc > 2 |
|00005f00| 74 68 65 6e 20 67 65 74 | 20 22 62 75 6c 6c 79 20 |then get| "bully |
|00005f10| 62 67 22 0d 69 66 20 74 | 63 20 3e 20 34 39 20 74 |bg".if t|c > 49 t|
|00005f20| 68 65 6e 20 67 65 74 20 | 22 45 73 73 61 79 73 20 |hen get |"Essays |
|00005f30| 62 67 22 0d 69 66 20 74 | 63 20 3d 20 35 30 20 74 |bg".if t|c = 50 t|
|00005f40| 68 65 6e 20 67 65 74 20 | 22 45 73 73 61 79 73 20 |hen get |"Essays |
|00005f50| 6f 70 65 6e 65 72 22 0d | 69 66 20 74 63 20 3e 20 |opener".|if tc > |
|00005f60| 35 35 20 74 68 65 6e 20 | 67 65 74 20 22 65 73 73 |55 then |get "ess|
|00005f70| 61 79 73 2e 70 61 6e 64 | 61 22 0d 69 66 20 74 63 |ays.pand|a".if tc|
|00005f80| 20 3e 20 36 31 20 74 68 | 65 6e 20 67 65 74 20 22 | > 61 th|en get "|
|00005f90| 65 73 73 61 79 73 2e 68 | 65 6e 22 0d 69 66 20 74 |essays.h|en".if t|
|00005fa0| 63 20 3e 20 36 33 20 74 | 68 65 6e 20 67 65 74 20 |c > 63 t|hen get |
|00005fb0| 22 65 73 73 61 79 2e 66 | 6c 61 6d 69 6e 67 6f 22 |"essay.f|lamingo"|
|00005fc0| 0d 69 66 20 74 63 20 3e | 20 36 34 20 74 68 65 6e |.if tc >| 64 then|
|00005fd0| 20 67 65 74 20 22 65 73 | 73 61 79 73 2e 70 69 67 | get "es|says.pig|
|00005fe0| 67 79 22 0d 69 66 20 74 | 63 20 3d 20 36 37 20 74 |gy".if t|c = 67 t|
|00005ff0| 68 65 6e 20 67 65 74 20 | 22 42 69 62 6c 69 6f 20 |hen get |"Biblio |
|00006000| 62 67 22 0d 69 66 20 74 | 63 20 3d 20 36 38 20 74 |bg".if t|c = 68 t|
|00006010| 68 65 6e 20 67 65 74 20 | 22 48 69 73 74 2e 44 6f |hen get |"Hist.Do|
|00006020| 63 73 20 6f 70 65 6e 65 | 72 22 0d 69 66 20 74 63 |cs opene|r".if tc|
|00006030| 20 3e 20 36 38 20 74 68 | 65 6e 20 67 65 74 20 22 | > 68 th|en get "|
|00006040| 68 69 73 74 2e 64 6f 63 | 73 20 62 67 22 0d 69 66 |hist.doc|s bg".if|
|00006050| 20 74 63 20 3d 20 38 33 | 20 74 68 65 6e 20 67 65 | tc = 83| then ge|
|00006060| 74 20 22 62 65 61 67 6c | 65 20 6f 70 65 6e 65 72 |t "beagl|e opener|
|00006070| 22 0d 69 66 20 74 63 20 | 3e 20 38 33 20 74 68 65 |".if tc |> 83 the|
|00006080| 6e 20 67 65 74 20 22 62 | 65 61 67 6c 65 2e 62 67 |n get "b|eagle.bg|
|00006090| 22 0d 69 66 20 74 63 20 | 3d 20 31 30 35 20 74 68 |".if tc |= 105 th|
|000060a0| 65 6e 20 67 65 74 20 22 | 4f 72 69 67 69 6e 20 6f |en get "|Origin o|
|000060b0| 70 65 6e 65 72 22 0d 69 | 66 20 74 63 20 3e 20 31 |pener".i|f tc > 1|
|000060c0| 30 35 20 74 68 65 6e 20 | 67 65 74 20 22 6f 72 69 |05 then |get "ori|
|000060d0| 67 69 6e 2e 62 67 22 0d | 69 66 20 74 63 20 3e 20 |gin.bg".|if tc > |
|000060e0| 31 32 33 20 74 68 65 6e | 20 67 65 74 20 22 22 0d |123 then| get "".|
|000060f0| 69 66 20 6c 61 73 74 62 | 67 70 69 63 20 3c 3e 20 |if lastb|gpic <> |
|00006100| 69 74 0d 74 68 65 6e 0d | 73 65 74 20 63 75 72 73 |it.then.|set curs|
|00006110| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 6d 61 78 6d |or to wa|tch.maxm|
|00006120| 65 6d 0d 69 66 20 69 74 | 20 3c 3e 20 22 22 0d 74 |em.if it| <> "".t|
|00006130| 68 65 6e 20 61 64 64 63 | 6f 6c 6f 72 20 63 6f 6c |hen addc|olor col|
|00006140| 6f 72 70 69 63 74 66 69 | 6c 65 2c 62 67 2c 62 67 |orpictfi|le,bg,bg|
|00006150| 70 69 63 66 6f 6c 64 65 | 72 26 69 74 2c 22 30 2c |picfolde|r&it,"0,|
|00006160| 30 22 2c 6f 2c 73 74 61 | 6d 70 2c 30 0d 70 75 74 |0",o,sta|mp,0.put|
|00006170| 20 69 74 20 69 6e 74 6f | 20 6c 61 73 74 62 67 70 | it into| lastbgp|
|00006180| 69 63 0d 65 6e 64 20 69 | 66 0d 75 70 64 61 74 65 |ic.end i|f.update|
|00006190| 63 69 74 65 73 0d 64 72 | 61 77 6e 61 76 0d 65 6e |cites.dr|awnav.en|
|000061a0| 64 20 64 72 61 77 62 67 | 70 69 63 0d 6f 6e 20 6f |d drawbg|pic.on o|
|000061b0| 63 73 74 75 66 66 0d 67 | 6c 6f 62 61 6c 20 6c 61 |cstuff.g|lobal la|
|000061c0| 73 74 63 61 72 64 2c 6c | 61 73 74 62 67 70 69 63 |stcard,l|astbgpic|
|000061d0| 2c 62 67 70 69 63 66 6f | 6c 64 65 72 2c 6e 61 76 |,bgpicfo|lder,nav|
|000061e0| 74 6f 6f 6c 73 2c 74 63 | 74 2c 63 6c 53 54 2c 54 |tools,tc|t,clST,T|
|000061f0| 44 69 0d 64 72 61 77 62 | 67 70 69 63 0d 69 66 20 |Di.drawb|gpic.if |
|00006200| 74 68 65 72 65 20 69 73 | 20 61 20 66 6c 64 20 22 |there is| a fld "|
|00006210| 6d 61 72 6b 65 64 20 63 | 61 72 64 73 22 0d 74 68 |marked c|ards".th|
|00006220| 65 6e 0d 67 65 74 20 66 | 6c 64 20 22 6d 61 72 6b |en.get f|ld "mark|
|00006230| 65 64 20 63 61 72 64 73 | 22 0d 69 66 20 6e 75 6d |ed cards|".if num|
|00006240| 62 65 72 20 6f 66 20 77 | 6f 72 64 73 20 69 6e 20 |ber of w|ords in |
|00006250| 69 74 ad 32 20 74 68 65 | 6e 0d 69 66 20 6f 66 66 |it.2 the|n.if off|
|00006260| 73 65 74 28 72 65 74 75 | 72 6e 26 28 43 4e 28 29 |set(retu|rn&(CN()|
|00006270| 29 26 20 72 65 74 75 72 | 6e 2c 69 74 29 3e 30 20 |)& retur|n,it)>0 |
|00006280| 74 68 65 6e 20 67 65 74 | 20 54 44 69 0d 65 6c 73 |then get| TDi.els|
|00006290| 65 20 67 65 74 20 33 30 | 30 31 36 0d 69 66 20 69 |e get 30|016.if i|
|000062a0| 63 6f 6e 20 6f 66 20 62 | 67 20 42 74 6e 20 22 6d |con of b|g Btn "m|
|000062b0| 61 72 6b 6d 65 22 ad 69 | 74 20 74 68 65 6e 20 73 |arkme".i|t then s|
|000062c0| 65 74 20 69 63 6f 6e 20 | 6f 66 20 62 67 20 42 74 |et icon |of bg Bt|
|000062d0| 6e 20 22 6d 61 72 6b 6d | 65 22 20 74 6f 20 69 74 |n "markm|e" to it|
|000062e0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 63 |.end if.|end if.c|
|000062f0| 6f 6c 6f 72 6d 65 0d 70 | 75 74 20 74 68 65 20 6e |olorme.p|ut the n|
|00006300| 75 6d 62 65 72 20 6f 66 | 20 74 68 69 73 20 63 61 |umber of| this ca|
|00006310| 72 64 20 69 6e 74 6f 20 | 6c 61 73 74 63 61 72 64 |rd into |lastcard|
|00006320| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 66 |.if ther|e is a f|
|00006330| 6c 64 20 22 63 68 61 70 | 74 65 72 20 6e 61 6d 65 |ld "chap|ter name|
|00006340| 22 0d 74 68 65 6e 0d 69 | 66 20 66 6c 64 20 22 63 |".then.i|f fld "c|
|00006350| 68 61 70 74 65 72 20 6e | 61 6d 65 22 20 3d 20 22 |hapter n|ame" = "|
|00006360| 6c 65 63 74 75 72 65 22 | 20 74 68 65 6e 20 73 65 |lecture"| then se|
|00006370| 6e 64 20 64 72 61 77 63 | 69 74 65 20 74 6f 20 74 |nd drawc|ite to t|
|00006380| 68 69 73 20 63 61 72 64 | 0d 65 6e 64 20 69 66 0d |his card|.end if.|
|00006390| 69 66 20 6f 70 65 6e 65 | 72 20 69 73 20 6e 6f 74 |if opene|r is not|
|000063a0| 20 69 6e 20 69 74 20 61 | 6e 64 20 52 43 4e 28 29 | in it a|nd RCN()|
|000063b0| 3c 6e 75 6d 62 65 72 20 | 6f 66 20 63 61 72 64 20 |<number |of card |
|000063c0| 22 77 6f 72 6c 64 22 0d | 74 68 65 6e 0d 69 66 20 |"world".|then.if |
|000063d0| 6e 61 76 74 6f 6f 6c 73 | 20 3d 20 74 72 75 65 20 |navtools| = true |
|000063e0| 74 68 65 6e 20 64 72 61 | 77 6e 61 76 0d 67 65 74 |then dra|wnav.get|
|000063f0| 20 74 68 65 20 72 65 73 | 75 6c 74 0d 65 6e 64 20 | the res|ult.end |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.